diff options
-rw-r--r-- | include/vcl/weld.hxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
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 |