diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-12 16:59:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-12 22:11:38 +0100 |
commit | 88fac446241c6346699927b85c50b7cc6837d616 (patch) | |
tree | fbf20cace3a249c68ddfed111ea2349ff625fb84 /vcl | |
parent | a99f269b77b744ab2844ecb7a711c8ef339f7bb2 (diff) |
expand normal tabs if overflow is active
Change-Id: I4033fcb2c34c70eff554998752f93865ee1c9230
Reviewed-on: https://gerrit.libreoffice.org/65046
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 425e74c88c0a..e828a2341d73 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -3453,6 +3453,13 @@ private: ++i; } + for (i = 0; i < m_nEndTabCount; ++i) + { + GtkWidget* pTabWidget = gtk_notebook_get_tab_label(m_pNotebook, + gtk_notebook_get_nth_page(m_pNotebook, i)); + gtk_widget_set_hexpand(pTabWidget, true); + } + // have to have some tab as the active tab of the overflow notebook append_useless_page(m_pOverFlowNotebook); gtk_notebook_set_current_page(m_pOverFlowNotebook, gtk_notebook_get_n_pages(m_pOverFlowNotebook) - 1); |