Kaydet (Commit) e258b760 authored tarafından Caolán McNamara's avatar Caolán McNamara

allow a custom border property for drawing areas

Change-Id: I1e5777e5dcc04d0aa53d1ac4b9091f310ae59035
üst fc480bca
...@@ -1092,7 +1092,10 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri ...@@ -1092,7 +1092,10 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
else if (name == "GtkNotebook") else if (name == "GtkNotebook")
pWindow = new TabControl(pParent, WB_STDTABCONTROL|WB_3DLOOK); pWindow = new TabControl(pParent, WB_STDTABCONTROL|WB_3DLOOK);
else if (name == "GtkDrawingArea") else if (name == "GtkDrawingArea")
pWindow = new Window(pParent); {
OString sBorder = extractCustomProperty(rMap);
pWindow = new Window(pParent, sBorder.isEmpty() ? 0 : WB_BORDER);
}
else if (name == "GtkTextView") else if (name == "GtkTextView")
{ {
extractBuffer(id, rMap); extractBuffer(id, rMap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment