[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Dec 13 08:52:19 UTC 2018


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

New commits:
commit be8fc29b4130e2bb3b8f1cdb50a5a6462d79723a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Dec 12 16:59:08 2018 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Dec 13 09:51:55 2018 +0100

    expand normal tabs if overflow is active
    
    Change-Id: I4033fcb2c34c70eff554998752f93865ee1c9230
    Reviewed-on: https://gerrit.libreoffice.org/65047
    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/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 6c1535ffc4f6..52a50ce0014b 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -3452,6 +3452,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);


More information about the Libreoffice-commits mailing list