DropDown.Height does not effect the button

Hi everybody,

when I try to reduce the hight of my dropdown it has no effect on the button.
Does anybody know how to set the dimensions for the button as well?
Or is that not possible?

Thanks and regards
Andreas

Please post the code you are using to reduce the height;

Hi Mike,

here is the code:

The hight was 32 - as generated with the glide designer.

The dropdown box itself is displayed now with the new hight of 22, but the button has still the hight of 32.
I had a look into the glide source - for the button is a bmp used. In dropdown.cs I changed the DrawImage to Scale9Image and
I got a smaller button, but with a distored arrow. There would be a new bmp necessary, but then we have fixed heights…

Or am I completly wrong?

when you change the height without changing the width, you change the aspect ratio which results in a distorted image.

…yeah, I know, I changed both values when I used the method Scale9Image, I add a screenshot…
I think there are several bitmaps for the button needed for changing the size of the dropdown …
…converting to jpg affects the button color, bmp is not allowed…