Minimum height of a sidebar gadget?

The minimum height of a sidebar gadget seems to be about 60 pixels. Is there a way to reduce this



Answer this question

Minimum height of a sidebar gadget?

  • adr78

    Jan Ku era wrote:
    Aren't you only allowed to place elements on opaque areas


    Yes but Jonathan is saying that if you want a gadget to be smaller than 60px high you should create a background image with a transparent area to make it up to 60px (so the height of your background - 60px = transparent area height), then place your elements onto the opaque part of your background.


  • xRuntime

    Nope, its 20x57 and as far as I know you can't do anything with it, I remember reading that on some sidebar team posts or something like that.
  • Tyrael117

    Jonathan Abbott wrote:
    You can make a Gadget any size you want, down to 0 pixels if you really wanted to. You do this by setting the background to a transparent PNG that has only the relevant pixels visible.

    So, by creating a 100% transparent PNG, your Gadget will be 0x0 pixels in size.

    When docked to the Sidebar however, there is a minimum height, due to the close/settings/move pop-up icons.


    To elaborate, if you have a background image 60px high, with the lower 30px being transparent, then whilst docked you'll have an extra 30px gap between that gadget and the one below it. You could even it out by having the transparent area 15px top and 15px bottom. Either way, it doesn't look too good on the sidebar, but it looks fine when undocked.


  • Ben S

    You can make a Gadget any size you want, down to 0 pixels if you really wanted to. You do this by setting the background to a transparent PNG that has only the relevant pixels visible.

    So, by creating a 100% transparent PNG, your Gadget will be 0x0 pixels in size.

    When docked to the Sidebar however, there is a minimum height, due to the close/settings/move pop-up icons.

  • Ravonies

    Aren't you only allowed to place elements on opaque areas
  • Minimum height of a sidebar gadget?