Ticket #3932: 0002-Force-GtkLabel-inside-notebook-tab-to-be-in-one-line.patch

File 0002-Force-GtkLabel-inside-notebook-tab-to-be-in-one-line.patch, 1.0 KB (added by manuq, 11 years ago)

Candidate patch

  • gtk3/theme/gtk-widgets.css.em

    From 81d231e96abfaf60d5e8ac2bbcf86b44da3c1729 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Wed, 14 Nov 2012 13:54:46 -0300
    Subject: [PATCH artwork 2/2] Force GtkLabel inside notebook tab to be in one
     line - SL #3932
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    Add padding to the GtkLabel inside notebook tab so it is displayed in
    one line.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 028103b..2700473 100644
    a b GtkComboBox .separator { 
    334334/* sure the buttons get black color in the next two rules: */
    335335.notebook tab GtkLabel {
    336336    color: @white;
     337    padding: $(subcell_size)px 0;
    337338}
    338339
    339340.notebook tab .button GtkLabel {