[Bugs] #3385 sugar-artwork UNSP: 'dialog-cancel' icon has not the correct size when inside a gtk entry
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Tue Jun 19 06:58:10 EDT 2012
#3385: 'dialog-cancel' icon has not the correct size when inside a gtk entry
------------------------------------------+---------------------------------
Reporter: erikos | Owner: erikos
Type: defect | Status: assigned
Priority: Unspecified by Maintainer | Milestone: 0.96
Component: sugar-artwork | Version: Git as of bugdate
Severity: Major | Keywords: 12.1.0, screenshot
Distribution: OLPC | Status_field: Assigned
------------------------------------------+---------------------------------
Comment(by erikos):
Ok, so what is interesting is that this issue is a regression from
previous behavior in GTK+ 2. You can see this if you compare Log (GTK+ 2
activity) and Browse (GTK+ 3 activity), I printed out the pixbuf sizes in
the iconentry and the following is the case:
Log: When the 'dialog-cancel' icon is added to the entry the pixbuf that
gets created from the icon has the size 55. The 'system-search' icon that
gets added has a pixbuf size of 22. Both are the actual definitions in the
svg file. They both display at the correct size in the entry. The 'dialog-
cancel' pixbuf must be changed accordingly.
Browse: The same icons are added to the entry in Browse. The 'system-
search' icon already has the correct size. But the 'dialog-cancel' does
not get adjusted accordingly in the pixbuf. You can do that with scaling
as Carlos suggested as a workaround.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3385#comment:18>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list