Migliorata interfaccia OptionPanel

This commit is contained in:
Nicola Pievani
2024-02-13 15:29:12 +01:00
parent a41230f4b9
commit a9540db0b2
2 changed files with 17 additions and 2 deletions
+5 -2
View File
@@ -44,7 +44,7 @@
<UniformGrid Columns="2">
<TextBlock Text="{Binding ThicknessToleranceMsg}"/>
<EgtWPFLib5:EgtTextBox Text="{Binding ThicknessTolerance}"
Margin="13,0,0,0"
Margin="36,0,0,0"
TextAlignment="Right"/>
</UniformGrid>
</GroupBox>
@@ -58,7 +58,7 @@
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding LabelFileName}"/>
<TextBlock Text="{Binding LabelFileName}" VerticalAlignment="Center"/>
<Button Content="{Binding BrowseMsg}" Grid.Column="1"
Command="{Binding BrowseCommand}"
Style="{StaticResource OptionPanel_TextButton}"
@@ -112,6 +112,9 @@
<ListBox ItemsSource="{Binding MaterialList}"
SelectedItem="{Binding SelMaterial}"
Background="{StaticResource Omag_Black}"
Foreground="{StaticResource Omag_White}"
BorderThickness="0"
Grid.RowSpan="2"
Margin="0,0,0,5"
Height="150"/>
+12
View File
@@ -748,4 +748,16 @@
<!-- ______________________________________________________________________________________________________________________________________________ -->
<!-- GroupBox -->
<Style TargetType="{x:Type GroupBox}" BasedOn="{StaticResource {x:Type GroupBox}}">
<Setter Property="BorderThickness" Value="{StaticResource BorderGpBx_Thickness}"/>
<Setter Property="BorderBrush" Value="{StaticResource Omag_White}"/>
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
<Setter Property="Margin" Value="0,0,0,0"/>
</Style>
<!-- ______________________________________________________________________________________________________________________________________________ -->
</ResourceDictionary>