#How to add labels that align with hslider ticks

3 messages · Page 1 of 1 (latest)

pearl wadi
#

I want to add labels for difficulty under each tick of an Hslider but I can't find a way to align the text with each tick.

fossil otter
#

not really sure it works but maybe you could try

adding a HBoxContainer as a child of the slider, taking all space availible

then if you have N ticks, give the HBox N Control nodes as children

and then in each one of the control nodes add a centered Label

pearl wadi
#

When I made it a child of the slider it placed the labels on top of the slider so I expanded the minimum y and aligned it with the bottom they are sort of still not aligned though.