diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-24 12:55:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-24 12:56:51 +0100 |
commit | 319a9ce794126622cbd5061af40a6abeeed4ddb4 (patch) | |
tree | 9c919409f194f35ea714222d1fd7f2fb338d6f13 /svx | |
parent | ad0c6359dc044c659160a6a51c1647607c58979a (diff) |
pretty up area .ui conversion a bit
somewhere there is a single tab dialog that reuses this tabpage
so add some tweakery to ensure that the requested size is always
sufficient to hold largest combination of visible areas
Change-Id: If68de29057de7d3a5a26d753e11208e92ce40021
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index 2fae87af0a3e..29e25f7bf65d 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -923,6 +923,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeColorLB(Window *pParent, Vc WinBits nWinBits = WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_SIMPLEMODE|WB_TABSTOP; if (bDropdown) nWinBits |= WB_DROPDOWN; + OString sBorder = VclBuilder::extractCustomProperty(rMap); + if (!sBorder.isEmpty()) + nWinBits |= WB_BORDER; ColorLB *pListBox = new ColorLB(pParent, nWinBits); pListBox->EnableAutoSize(true); return pListBox; |