[Libreoffice-commits] core.git: include/vcl vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 7 20:54:29 UTC 2019
include/vcl/weld.hxx | 1 +
vcl/unx/gtk3/gtk3gtkinst.cxx | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit e9669a5a9652a6f9615aeff2be36c0adcae96985
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Nov 7 15:57:43 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Nov 7 21:53:36 2019 +0100
make size group defaults match and document what the default is
Change-Id: Ic9a90d50d19b82ffd2ad599a106c2bc58d138f17
Reviewed-on: https://gerrit.libreoffice.org/82237
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index a6f38da05ec7..194383e72bcc 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -1935,6 +1935,7 @@ class VCL_DLLPUBLIC SizeGroup
{
public:
virtual void add_widget(weld::Widget* pWidget) = 0;
+ // the default mode is VclSizeGroupMode::Horizontal
virtual void set_mode(VclSizeGroupMode eMode) = 0;
virtual ~SizeGroup() {}
};
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index e813b9cb7d89..2b903bf49cbd 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -3133,7 +3133,7 @@ private:
GtkSizeGroup* m_pGroup;
public:
GtkInstanceSizeGroup()
- : m_pGroup(gtk_size_group_new(GTK_SIZE_GROUP_NONE))
+ : m_pGroup(gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL))
{
}
virtual void add_widget(weld::Widget* pWidget) override
More information about the Libreoffice-commits
mailing list