Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
How do I add padding to group headers?
posted

I've added 24x24 images to the group headers of my explorerbar but they seem all squeezed into the left corner.

I would like to indent a few pixels on the left and then add some padding at the top and botton to give the images and text a bit of breathing space.

Could you please let me know how I can achieve this.

Many thanks

Abz

 

 

Parents
  • 69832
    Suggested Answer
    Offline posted

    There is no publicly exposed way to change the padding. One way to hack aorund this is to make your image size (for example) 24 x 28, then create new bitmaps out of the old ones that have 2 rows of transparent pixels on the top and bottom. The images will look the same, but the control will make the header 4 pixels larger since it thinks the image is 28 pixels in height.

Reply Children
No Data