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 560189 - GtkScale doesn't allow minimum size
GtkScale doesn't allow minimum size
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Christian Dywan
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-11-10 17:23 UTC by Christian Dywan
Modified: 2008-11-21 15:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Implement minimum width and height (3.33 KB, patch)
2008-11-10 17:28 UTC, Christian Dywan
none Details | Review

Description Christian Dywan 2008-11-10 17:23:03 UTC
On a small handheld device it is essential to be able to tweak minimum sizes for certain widgets, so that you can use widgets with your fingers. GtkScale doesn't currently support that.

I suggest adding style properties "minimum-width" and "minimum-height".
Comment 1 Christian Dywan 2008-11-10 17:28:57 UTC
Created attachment 122337 [details] [review]
Implement minimum width and height

Implement minimum width and height as suggested. The implementation lives in gtkscale.c, for the sake of simplicity, and because that should make it easier to adapot the code once GtkOrientable is applied to the scale.
Comment 2 Christian Dywan 2008-11-21 15:17:55 UTC
As it turns out, the motivation for the bug isn't valid anymore. So for what I want, I'm not finishing the patch.

If anybody wants something like a minimum size, I suggest to reopen this bug, implement it in GtkRange, use only one single style property and use ->orientation in the size_request condition, that's how I would have updated the patch.