After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 669229 - Using .vertical before .horizontal in css doesn't work
Using .vertical before .horizontal in css doesn't work
Status: RESOLVED DUPLICATE of bug 671565
Product: gtk+
Classification: Platform
Component: Class: GtkStyleContext
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-02-02 10:25 UTC by Vincent Untz
Modified: 2012-10-30 17:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Untz 2012-02-02 10:25:43 UTC
In gnome-panel master, there's now code to use vertical/horizontal padding for launchers.

In general, you'd set this in the css:

ButtonWidget.button.horizontal {
    padding : 0px 4px 0px 4px;
}
ButtonWidget.button.vertical {
    padding : 4px 0px 4px 0px;
}

(.vertical works for launchers on vertical panels, .horizontal works for launchers on horizontal panels)

Interestingly, the order in which the selectors are seems to matter. For instance, doing this will result in .vertical being ignored:

ButtonWidget.button.vertical {
    padding : 4px 0px 4px 0px;
}
ButtonWidget.button.horizontal {
    padding : 0px 4px 0px 4px;
}
Comment 1 Peter Hurley 2012-03-14 13:25:45 UTC
Vincent,

Would you please re-test after applying the GTK+ patch in bug 671565?
Comment 2 Vincent Untz 2012-03-14 13:54:24 UTC
(In reply to comment #1)
> Would you please re-test after applying the GTK+ patch in bug 671565?

The patch seems to fix the issue.
Comment 3 Cosimo Cecchi 2012-10-30 17:18:46 UTC
Closing as a duplicate of bug 671565 then.

*** This bug has been marked as a duplicate of bug 671565 ***