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:
Caolán McNamara
2019-09-29 16:15:16 +01:00
parent 49a634425f
commit bdbb65ea3d

View File

@@ -2054,6 +2054,10 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
if (!sBorder.isEmpty())
nWinStyle |= WB_BORDER;
}
else
{
nWinStyle |= WB_HASBUTTONS | WB_HASBUTTONSATROOT;
}
//ListBox/SvHeaderTabListBox manages its own scrolling,
vcl::Window *pRealParent = prepareWidgetOwnScrolling(pParent, nWinStyle);
if (pRealParent != pParent)