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 708394 - CSS - support min-width
CSS - support min-width
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkStyleContext
3.9.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
: 558394 688675 732510 (view as bug list)
Depends on:
Blocks: 726371
 
 
Reported: 2013-09-19 17:50 UTC by Allan Day
Modified: 2015-12-15 18:17 UTC
See Also:
GNOME target: ---
GNOME version: 3.9/3.10



Description Allan Day 2013-09-19 17:50:02 UTC
I have a problem with the button widths in header bars. In some cases they are too wide, such as the "Lock" buttons in the control center. However, if I reduce the padding inside the buttons, many others become too narrow (such as "New" and "Done" buttons).

I might be wrong, but being able to set a minimum width on text buttons would be a good solution to this.
Comment 1 Matthias Clasen 2014-05-22 00:20:29 UTC
*** Bug 558394 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Clasen 2014-07-14 03:20:17 UTC
*** Bug 732510 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Fore 2014-07-14 18:15:50 UTC
Since my report has been marked a duplicate, I'll make a comment :) I'd like to be able to set the absolute width of a Gtk.Image like:

.toolbar GtkImage {
    height: 24px;
    width: 24px;
}

In this way, the theme would have control over icon sizes (and styles) so developers wouldn't need to worry about things like "Use 24px regular icons in headerbars on elementary, but 16px symbolic icons in headers on GNOME".
Comment 4 Matthias Clasen 2014-08-30 04:58:38 UTC
*** Bug 688675 has been marked as a duplicate of this bug. ***