How to Change Slider Control Colours in Noesis Unity
Posted: 14 Mar 2018, 13:26
Hi,
I've searched the forums and google for a way to change the slider control colours but I've not found a way to do this yet. I've tried by using the slider controls default template, but I get errors saying 'static members not supported' amongst other errors. I've tried setting colorbrushes in the <slider.resources> element, but nothing seems to change the slider from it's default dark colour.
How can I do this?
Unity 2017.3.0f3
Noesis 2.1.0rc2
Works in blend, but not in noesis unity.
I've searched the forums and google for a way to change the slider control colours but I've not found a way to do this yet. I've tried by using the slider controls default template, but I get errors saying 'static members not supported' amongst other errors. I've tried setting colorbrushes in the <slider.resources> element, but nothing seems to change the slider from it's default dark colour.
How can I do this?
Unity 2017.3.0f3
Noesis 2.1.0rc2
Code: Select all
<Slider x:Name="AssetTrackTimeline" Background="{DynamicResource SliderThumbBackground}">
<Slider.Resources>
<SolidColorBrush x:Key="SliderSelectionBackground" Color="Green" />
<SolidColorBrush x:Key="SliderSelectionBorder" Color="Green" />
<SolidColorBrush x:Key="SliderThumbBackground" Color="Green" />
<SolidColorBrush x:Key="SliderThumbBackgroundDisabled" Color="Green" />
<SolidColorBrush x:Key="SliderThumbBackgroundDragging" Color="Green" />
<SolidColorBrush x:Key="SliderThumbBackgroundHover" Color="Green" />
<SolidColorBrush x:Key="SliderThumbBorder" Color="Green" />
<SolidColorBrush x:Key="SliderThumbBorderDisabled" Color="Green" />
<SolidColorBrush x:Key="SliderThumbBorderDragging" Color="Green" />
<SolidColorBrush x:Key="SliderThumbBorderHover" Color="Green" />
</Slider.Resources>
</Slider>