Slider minimum height


#1

I’m using a IncDecButtons style Slider with a text box above it. When trying to make buttons and the text box each have a height of exactly 20 pixels, I ran into a problem because there’s a hardcoded minimum height for the slider/button portion of the component of 30 pixels…

I think maybe it would be better that for the IncDecButtons style with TextBoxAbove or TextBoxBelow this minimum height would be lowered to e.g. 15 pixels (or twice that in case the buttons are placed on top of each other, instead of side by side).

The function is Slider::resized().


#2

Yes, good request. I’ve checked-in an altered version now…