[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Sep 30 07:55:30 UTC 2019
vcl/source/window/builder.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit bdbb65ea3d147b6e160aaeda5740b032469590e3
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Sep 29 16:15:16 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Sep 30 09:54:39 2019 +0200
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 55162b7b861a..36bcba3465e8 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -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)
More information about the Libreoffice-commits
mailing list