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 726371 - GtkStackSwitcher hard-codes 100px width size-request
GtkStackSwitcher hard-codes 100px width size-request
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.11.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 744351 (view as bug list)
Depends on: 708394
Blocks:
 
 
Reported: 2014-03-14 20:29 UTC by mod-oss
Modified: 2015-12-08 03:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mod-oss 2014-03-14 20:29:02 UTC
Right now gtkstackswitcher.c's "update_button" function sets a size-request of 100px width for the stack switcher buttons (but only if they don't contain icons?). Depending on DPI, etc., this kind of hard-coded pixel value may be incoherent, and the intended purpose (making switchers homogeneous?) is better achieved through the existing GtkContainer API. In certain cases this can waste a lot of space and it's confusing to have hard-coded pixel values from the toolkit interfere when trying to design themes and debug widget layout.
Comment 1 Matthias Clasen 2014-03-17 18:16:17 UTC
its just a minimum size
Comment 2 Matthias Clasen 2015-05-10 05:39:03 UTC
*** Bug 744351 has been marked as a duplicate of this bug. ***
Comment 3 Matthias Clasen 2015-12-08 01:42:29 UTC
This will be fixed with the wip/matthiasc/gadget branch