#323 [LXPanel] Taskbar Button Size

open
nobody
None
5
2010-03-10
2010-03-10
Shae Smittle
No

In an attempt to prevent the buttons from clipping the icons, the buttons were increased in size. This allowed them to go off screen, which I do not think it the proper behavior. This patch offers a solution to the problem by making the buttons not exceed the icon size and to set the icon size for the buttons to a smaller size to account for the border. If the buttons are set to be flat, then it uses the normal Icon size.

TL;DR:
Taskbar Buttons: height of normal icons
Icons in Taskbar Buttons: reduced to prevent the icons from being clipped
Flat Buttons: no change

Discussion

  • Shae Smittle
    Shae Smittle
    2010-03-10

    Patch to fix the size of the taskbar buttons

     
  • Shae Smittle
    Shae Smittle
    2010-03-12

    Improved implementation and fixed clipping

     
  • Shae Smittle
    Shae Smittle
    2010-03-12

    I have greatly improved the implementation compared to before, but I had to remove changing icon size for flat buttons because it caused clipping. With this patch, the height of the panel can equal the height of the icons and everything fits, but a better solution for flat buttons is still required. I thought an update was appropriate still yet.

     
  • gilir
    gilir
    2011-12-24

    Patch committed in lxpanel git master. Thanks for your contribution :)