vcl/unx/gtk3/gtk3gtkinst.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 88fac446241c6346699927b85c50b7cc6837d616
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Dec 12 16:59:08 2018 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Dec 12 22:11:38 2018 +0100

    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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to