diff options
Diffstat (limited to 'UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml')
-rw-r--r-- | UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml | 89 |
1 files changed, 48 insertions, 41 deletions
diff --git a/UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml b/UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml index 35f4e0c..e485b25 100644 --- a/UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml +++ b/UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml @@ -4,48 +4,55 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" x:Class="UVtools.WPF.Controls.Tools.ToolEditParametersControl"> - <Grid - Name="grid" - RowDefinitions="Auto" - ColumnDefinitions="Auto,Auto,Auto,Auto,Auto" - VerticalAlignment="Center" - ShowGridLines="True" - > - <TextBlock - Grid.Column="0" - VerticalAlignment="Center" - FontWeight="Bold" - Padding="15" - Text="Property"/> - <TextBlock - Grid.Column="1" - VerticalAlignment="Center" - HorizontalAlignment="Center" - FontWeight="Bold" - Padding="15" - Text="Old value"/> - <TextBlock - Grid.Column="2" - VerticalAlignment="Center" - HorizontalAlignment="Center" - FontWeight="Bold" - Padding="15" - Text="New value"/> - <TextBlock - Grid.Column="3" - VerticalAlignment="Center" - FontWeight="Bold" - Padding="15" - Text="Unit"/> - <TextBlock - Grid.Column="4" - VerticalAlignment="Center" - HorizontalAlignment="Center" - FontWeight="Bold" - Padding="15" - Text="Reset"/> + <StackPanel Spacing="15"> + + <CheckBox + IsChecked="{Binding Operation.PerLayerOverride}" + IsVisible="{Binding SupportPerLayerSettings}" + Content="Change settings per a layer range"/> + <Grid + Name="grid" + RowDefinitions="Auto" + ColumnDefinitions="Auto,Auto,Auto,Auto,*" + VerticalAlignment="Center" + ShowGridLines="True" + > - </Grid> + <TextBlock + Grid.Column="0" + VerticalAlignment="Center" + FontWeight="Bold" + Padding="15" + Text="Property"/> + <TextBlock + Grid.Column="1" + VerticalAlignment="Center" + HorizontalAlignment="Center" + FontWeight="Bold" + Padding="15" + Text="Old value"/> + <TextBlock + Grid.Column="2" + VerticalAlignment="Center" + HorizontalAlignment="Center" + FontWeight="Bold" + Padding="15" + Text="New value"/> + <TextBlock + Grid.Column="3" + VerticalAlignment="Center" + FontWeight="Bold" + Padding="15" + Text="Unit"/> + <TextBlock + Grid.Column="4" + VerticalAlignment="Center" + HorizontalAlignment="Center" + FontWeight="Bold" + Padding="15" + Text="Reset"/> + </Grid> + </StackPanel> </UserControl> |