[feat:] added Country implementation for country code editing (unused)
This commit is contained in:
@@ -385,9 +385,79 @@
|
||||
<Label FontSize="16" Content="Länder" VerticalContentAlignment="Center" />
|
||||
</StackPanel>
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<Grid ColumnDefinitions="400,*" />
|
||||
</StackPanel>
|
||||
<Grid ColumnDefinitions="*,*">
|
||||
<Grid Grid.Column="0" Margin="5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<ListBox x:Name="CountryList" Grid.Row="0"
|
||||
SelectionChanged="CountryList_OnSelectionChanged" />
|
||||
|
||||
<Grid Grid.Row="1" ColumnDefinitions="*,250" Margin="0,5,0,0">
|
||||
<TextBox x:Name="TbSettingsNewCountry" />
|
||||
<Button Grid.Column="1" x:Name="BtnSettingsNewCountry"
|
||||
HorizontalAlignment="Stretch" Click="BtnSettingsNewCountry_OnClick"
|
||||
HorizontalContentAlignment="Center" Content="+ Hinzufügen"
|
||||
Margin="5,0,0,0" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Column="1" Margin="5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid ColumnDefinitions="300,*" Margin="0,0,0,5">
|
||||
<TextBlock Text="Name:" VerticalAlignment="Center" />
|
||||
<TextBox Grid.Column="1" x:Name="TbSettingsCountryName"
|
||||
TextChanged="TbSettingsCountryName_OnTextChanged" />
|
||||
</Grid>
|
||||
|
||||
<Grid ColumnDefinitions="300,*" Margin="0,0,0,5" Grid.Row="1">
|
||||
<TextBlock Text="Übersetzung:" VerticalAlignment="Center" />
|
||||
<TextBox Grid.Column="1" x:Name="TbSettingsCountryTranslation"
|
||||
TextChanged="TbSettingsCountryTranslation_OnTextChanged" />
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Row="2">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<ListBox x:Name="LbSettingsAlternatives" Grid.Row="0" SelectionMode="Multiple" />
|
||||
|
||||
<Grid Grid.Row="1" ColumnDefinitions="*,200" Margin="0,5,0,0">
|
||||
<TextBox x:Name="TbSettingsNewCountryAlternative"
|
||||
Watermark="Kürzel/Alternative" />
|
||||
<Button Grid.Column="1" x:Name="BtnSettingsNewCountryAlternative"
|
||||
Content="+ Hinzufügen" Margin="5 0 0 0"
|
||||
HorizontalContentAlignment="Center"
|
||||
Click="BtnSettingsNewCountryAlternative_OnClick"
|
||||
HorizontalAlignment="Stretch" />
|
||||
</Grid>
|
||||
|
||||
<Button x:Name="BtnSettingsRemoveSelectedAlternatives" Grid.Row="2"
|
||||
Content="Ausgewählte Entfernen" Background="#99963434"
|
||||
HorizontalContentAlignment="Center"
|
||||
HorizontalAlignment="Stretch"
|
||||
Click="BtnSettingsRemoveSelectedAlternatives_OnClick"
|
||||
Margin="0,5,0,0" />
|
||||
|
||||
<Button Grid.Row="3"
|
||||
Content="Land Entfernen" Background="#99963434"
|
||||
HorizontalContentAlignment="Center" x:Name="BtnSettingsRemoveCountry"
|
||||
HorizontalAlignment="Stretch" Click="BtnSettingsRemoveCountry_OnClick"
|
||||
Margin="0,5,0,0" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
</TabItem>
|
||||
|
||||
Reference in New Issue
Block a user