#3269 NORM Untriag: Add hacks to the gtk-theme to modify eg. GtkButton size_request
Zarro Boogs per Child
bugtracker at laptop.org
Sat Sep 8 07:24:19 EDT 2007
#3269: Add hacks to the gtk-theme to modify eg. GtkButton size_request
---------------------+------------------------------------------------------
Reporter: benzea | Owner: marco
Type: defect | Status: new
Priority: normal | Milestone: Untriaged
Component: distro | Version:
Keywords: review? | Verified: 0
---------------------+------------------------------------------------------
To handle the height of buttons with different content height (ie. label
only vs. button with an icon) we could modify the size_request function
from the theme.
(Another use case might be eg. menuitem size, to make the gtkrc nicer and
handle menu items containing GtkCellView nicely.)
Other possibilities I see (for the button case):
1. Modifying GTK+ in some way, though no idea how to sanely add some
option for this.
2. Subclassing GtkButton in sugar, and overriding the size_request there.
Note that I don't think we could subclass eg. GtkMenuItem because in the
interesting usecase they are created internally by GtkComboBox.
--
Ticket URL: <https://dev.laptop.org/ticket/3269>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list