refactor: format IlluminatorControllerView

This commit is contained in:
2026-02-19 14:51:17 +03:00
parent c239bd9d10
commit 6248d556f3
@@ -11,24 +11,27 @@
x:DataType="vm:IlluminatorControllerViewModel">
<UserControl.Styles>
<Style Selector="Slider.horizontal">
<Setter Property="VerticalAlignment" Value="Stretch" />
<Setter Property="Maximum" Value="1" />
<Setter Property="Minimum" Value="0" />
<Setter Property="Orientation" Value="Vertical" />
</Style>
<Style Selector="Slider.vertical">
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="Maximum" Value="1" />
<Setter Property="Minimum" Value="0" />
<Setter Property="Orientation" Value="Horizontal" />
</Style>
</UserControl.Styles>
<Grid>
<Grid IsVisible="{Binding Orientation, Converter={x:Static converters:OrientationToBoolConverter.IsHorizontal}}">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />