Fix SettingsRepositoryView layout.
This commit is contained in:
parent
5a0923e8e8
commit
03a62ddf5a
@ -23,7 +23,9 @@
|
|||||||
xmlns:b="clr-namespace:Bovender.Mvvm.Views.Settings;assembly=Bovender"
|
xmlns:b="clr-namespace:Bovender.Mvvm.Views.Settings;assembly=Bovender"
|
||||||
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
|
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
|
||||||
xmlns:action="clr-namespace:Bovender.Mvvm.Actions;assembly=Bovender"
|
xmlns:action="clr-namespace:Bovender.Mvvm.Actions;assembly=Bovender"
|
||||||
Width="380" Height="365" ResizeMode="CanResizeWithGrip" ShowInTaskbar="False"
|
Width="340" Height="370"
|
||||||
|
MinWidth="360" MinHeight="370" WindowStyle="ToolWindow"
|
||||||
|
ResizeMode="CanResizeWithGrip" ShowInTaskbar="False"
|
||||||
b:WindowState.CenterScreen="True" b:WindowState.Save="True"
|
b:WindowState.CenterScreen="True" b:WindowState.Save="True"
|
||||||
Title="Stil auswählen"
|
Title="Stil auswählen"
|
||||||
>
|
>
|
||||||
@ -56,27 +58,24 @@
|
|||||||
<action:ShowViewDialogAction Assembly="zaaReloaded2" View="zaaReloaded2.Views.IoErrorView" />
|
<action:ShowViewDialogAction Assembly="zaaReloaded2" View="zaaReloaded2.Views.IoErrorView" />
|
||||||
</i:EventTrigger>
|
</i:EventTrigger>
|
||||||
</i:Interaction.Triggers>
|
</i:Interaction.Triggers>
|
||||||
<StackPanel Margin="10">
|
<DockPanel Margin="10">
|
||||||
<Label Target="{Binding ElementName=settingsList}">Bitte Stil auswählen:</Label>
|
<Label DockPanel.Dock="Top" Target="{Binding ElementName=settingsList}">Bitte Stil auswählen:</Label>
|
||||||
<DockPanel Margin="0 5 0 0">
|
<UniformGrid DockPanel.Dock="Bottom" Margin="0 10 0 0" Columns="2" Rows="1" HorizontalAlignment="Left">
|
||||||
<StackPanel DockPanel.Dock="Right" Margin="10 0 0 0">
|
<Button Command="{Binding UseSettingsCommand}" Content="Auswählen" IsDefault="True" Margin="0 0 5 0" />
|
||||||
<Button Command="{Binding AddSettingsCommand}" Content="Hinzufügen" Margin="0 10 0 5" />
|
<Button Command="{Binding CloseViewCommand}" Content="Schließen" Margin="5 0 0 0" IsCancel="True" />
|
||||||
<Button Command="{Binding EditSettingsCommand}" Content="Bearbeiten" Margin="0 0 0 5" />
|
</UniformGrid>
|
||||||
<Button Command="{Binding DeleteSettingsCommand}" Content="Entfernen" Margin="0 0 0 5" />
|
<StackPanel DockPanel.Dock="Right" Margin="10 0 0 0" x:Name="buttonsPanel">
|
||||||
<Button Command="{Binding CopySettingsCommand}" Content="Kopieren" Margin="0 0 0 5" />
|
<Button Command="{Binding AddSettingsCommand}" Content="Hinzufügen" Margin="0 0 0 5" />
|
||||||
<Button Command="{Binding ExportSettingsCommand}" Content="Exportieren" Margin="0 5 0 5" />
|
<Button Command="{Binding EditSettingsCommand}" Content="Bearbeiten" Margin="0 0 0 5" />
|
||||||
<Button Command="{Binding ImportSettingsCommand}" Content="Importieren" Margin="0 0 0 5" />
|
<Button Command="{Binding DeleteSettingsCommand}" Content="Entfernen" Margin="0 0 0 5" />
|
||||||
<Button Command="{Binding ResetSettingsCommand}" Content="Werkseinstellungen" Margin="0 0 0 5" />
|
<Button Command="{Binding CopySettingsCommand}" Content="Kopieren" Margin="0 0 0 5" />
|
||||||
</StackPanel>
|
<Button Command="{Binding ExportSettingsCommand}" Content="Exportieren" Margin="0 5 0 5" />
|
||||||
<UniformGrid DockPanel.Dock="Bottom" Margin="0 10 0 0" Columns="2" Rows="1" HorizontalAlignment="Right">
|
<Button Command="{Binding ImportSettingsCommand}" Content="Importieren" Margin="0 0 0 5" />
|
||||||
<Button Command="{Binding UseSettingsCommand}" Content="Auswählen" IsDefault="True" Margin="0 0 5 0" />
|
<Button Command="{Binding ResetSettingsCommand}" Content="Werkseinstellungen" Margin="0 0 0 5" />
|
||||||
<Button Command="{Binding CloseViewCommand}" Content="Schließen" Margin="5 0 0 0" IsCancel="True" />
|
</StackPanel>
|
||||||
</UniformGrid>
|
<ListBox ItemsSource="{Binding SettingsList}"
|
||||||
<ListBox ItemsSource="{Binding SettingsList}"
|
DisplayMemberPath="Name"
|
||||||
DisplayMemberPath="Name"
|
ItemContainerStyle="{DynamicResource ResourceKey=ViewModelListBox}"
|
||||||
ItemContainerStyle="{DynamicResource ResourceKey=ViewModelListBox}"
|
x:Name="settingsList" />
|
||||||
x:Name="settingsList"
|
</DockPanel>
|
||||||
MinWidth="240" MinHeight="240" />
|
|
||||||
</DockPanel>
|
|
||||||
</StackPanel>
|
|
||||||
</Window>
|
</Window>
|
||||||
|
Loading…
Reference in New Issue
Block a user