简体   繁体   English

将样式更改为HSlider-Haxeui

[英]Change style to HSlider - Haxeui

Is possibile to change the Hslider in haxe? 是否可以更换Hslider中的蜡? (via xml or programmatically, it's the same for me) (通过xml或以编程方式,对我来说都是一样的)

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). 我想更改条形颜色,我看到了一些有关as3的教程,但似乎它们不适用于haxe(如skinclass)。

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 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 ). 在此示例中,仅通过id选择特定的HSlider (即#mySlider ),如果要更改所有滑块,则可以指定类而不是id(即HSlider )。

More info here: http://haxeui.org/wiki/en/Styling . 此处提供更多信息: 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). 严重缺少的一件事(我希望很快纠正)是特定组件包含哪些组件,即HSlider包含哪些子组件(子组件)(例如)。 This would go a long way to help custom styling. 这将大大有助于自定义样式。 I hope to get this sorted soon. 我希望能尽快得到解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM