Change style to HSlider - Haxeui

202 Views Asked by At

Is possibile to change the Hslider in haxe? (via xml or programmatically, it's the same for me)

i would like to change the bar color, i saw some tutorials for as3 but it seems that they don't work with haxe (like skinclass).

1

There are 1 best solutions below

2
On BEST ANSWER

You can change every component using the styles and building style rules. Heres an example in the layout builder:

http://haxeui.org/try.jsp?layoutId=R5BM89r

In this example only the specific HSlider is selected by id (ie, #mySlider), if you wanted to change all sliders you could specify the class instead of the id (ie, HSlider).

More info here: http://haxeui.org/wiki/en/Styling.

One thing that is sorely missing (which i hope to rectify soon) is what components specific components contain, ie, what sub components (children) the HSlider contains (as an example). This would go a long way to help custom styling. I hope to get this sorted soon.