! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Panel button icons cropped
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Launcher

Comments

Description Jaroslav Šmíd 2009-06-21 09:57:39 CEST
Created attachment 2411 
Screenshot

I would like to see possibility to set icon sizes for launchers and menu button. Currently the icon size is calculated using the applet width/height. The problem is, that I have 26px wide panel with xthickness and ythickness set to 0 in my theme. Then no matter if I set xthickness, ythickness or GtkButton::inner-border in the theme for panel buttons, icon size is always as big as the panel and is then cropped by GtkButton::inner-border (see the screenshot) and xthickness/ythickness are totaly ignored. This occurs on Launchers and Menu button. This doesn't occur when I set Launcher icon to eg. 16x16 "non-stock" image (selecting png file) - if I do that, image is correctly rendered as 16x16. But if I set 16x16 image to Menu button, that image is upscaled to calculated height.

Task switcher applet has corrent icon sizes.
Comment 1 Nick Schermer editbugs 2010-02-06 20:37:10 CET
Devel panel uses a special widget for icons which automatically scales to the allocated size.
Comment 2 Nick Schermer editbugs 2010-02-27 15:08:36 CET
Devel branch has been merged in master. A 4.7.0 release will follow soon. If you think this bug is not fixed? Feel free to reopen the bug.

Bug #5491

Reported by:
Jaroslav Šmíd
Reported on: 2009-06-21
Last modified on: 2010-02-27

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Screenshot (79.04 KB, image/png)
2009-06-21 09:57 CEST , Jaroslav Šmíd
no flags

Additional information