diff options
Diffstat (limited to 'UVtools.WPF/Windows/ToolWindow.axaml')
-rw-r--r-- | UVtools.WPF/Windows/ToolWindow.axaml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/UVtools.WPF/Windows/ToolWindow.axaml b/UVtools.WPF/Windows/ToolWindow.axaml index 7e44ae2..0fba631 100644 --- a/UVtools.WPF/Windows/ToolWindow.axaml +++ b/UVtools.WPF/Windows/ToolWindow.axaml @@ -37,7 +37,23 @@ IsVisible="{Binding LayerRangeVisible}"> <StackPanel Orientation="Vertical"> - <TextBlock Padding="10" Background="LightBlue" FontWeight="Bold" Text="Layer range selector"/> + <Grid + ColumnDefinitions="Auto,*" Background="LightBlue"> + <TextBlock + Padding="10" FontWeight="Bold" + VerticalAlignment="Center" + Text="Layer range selector"/> + <CheckBox + Grid.Column="1" + Padding="10" + FontWeight="Bold" + VerticalAlignment="Center" + HorizontalAlignment="Right" + IsChecked="{Binding LayerRangeSync}" + ToolTip.Tip="Synchronize and lock the layer range for single layer navigation" + Content="Synchronize"/> + </Grid> + <Grid RowDefinitions="Auto,5,Auto" @@ -65,6 +81,7 @@ Grid.Column="2" VerticalAlignment="Center" Text="To:" + IsEnabled="{Binding !LayerRangeSync}" Margin="20,0,10,0" /> @@ -73,6 +90,7 @@ Grid.Column="3" VerticalAlignment="Center" Maximum="{Binding MaximumLayerIndex}" + IsEnabled="{Binding !LayerRangeSync}" Value="{Binding LayerIndexEnd}" /> |