align show-expander default with gtk defaults
Change-Id: Ie2d03c1b98c78e58afc07a07a21ff934a62fd280 Reviewed-on: https://gerrit.libreoffice.org/79818 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -2054,6 +2054,10 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
|
|||||||
if (!sBorder.isEmpty())
|
if (!sBorder.isEmpty())
|
||||||
nWinStyle |= WB_BORDER;
|
nWinStyle |= WB_BORDER;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
nWinStyle |= WB_HASBUTTONS | WB_HASBUTTONSATROOT;
|
||||||
|
}
|
||||||
//ListBox/SvHeaderTabListBox manages its own scrolling,
|
//ListBox/SvHeaderTabListBox manages its own scrolling,
|
||||||
vcl::Window *pRealParent = prepareWidgetOwnScrolling(pParent, nWinStyle);
|
vcl::Window *pRealParent = prepareWidgetOwnScrolling(pParent, nWinStyle);
|
||||||
if (pRealParent != pParent)
|
if (pRealParent != pParent)
|
||||||
|
Reference in New Issue
Block a user