Ticket #4192: 0001-Make-the-overflow-button-wider-SL-4192.patch

File 0001-Make-the-overflow-button-wider-SL-4192.patch, 1.3 KB (added by manuq, 11 years ago)

Candidate patch

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

    From 415ba367c7d28479738335689e58c1e5f90b4cfa Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Wed, 14 Nov 2012 10:50:36 -0300
    Subject: [PATCH artwork] Make the overflow button wider - SL #4192
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    Currently is more narrow than the gtk2 one.  Needs to be even wider to
    be touch friendly.
    
    For this, add padding to the arrow inside the toolbar overflow button.
    This rule is set by the widget name.  In the gtk+ code we can see:
    
        gtk_widget_set_name (priv->arrow, "gtk-toolbar-arrow");
    
    So #gtk-toolbar-arrow will match it.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index ac3e576..028103b 100644
    a b SugarPaletteWindowWidget SugarRadioToolButton .button { 
    558558    border-style: none;
    559559}
    560560
     561.toolbar .button #gtk-toolbar-arrow {
     562    padding: 0 $(subcell_size)px;
     563}
     564
    561565.toolbar GtkToolButton .button,
    562566.toolbar SugarRadioToolButton *,
    563567SugarPaletteWindowWidget SugarRadioToolButton *,