[fix:] fixed several issues and improved performance as well as ux
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
Title="PLG Exam">
|
||||
<DockPanel Margin="10">
|
||||
<!-- Unterer Teil: Dateiverwaltung -->
|
||||
<Border DockPanel.Dock="Top" Background="#232327" Height="60" Margin="0,0,0,10">
|
||||
<Border DockPanel.Dock="Top" x:Name="BrdTop" Height="30" Margin="0,0,0,10">
|
||||
<Grid>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="10" VerticalAlignment="Center" Spacing="10">
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Spacing="10">
|
||||
<Button Content="Speichern" Click="OnSaveClick" />
|
||||
<Button Content="Speichern unter..." Click="OnSaveAsClick" />
|
||||
<Button Content="Öffnen" Click="OnOpenClick" />
|
||||
@@ -17,22 +17,23 @@
|
||||
<Button Content="Abgeben" Click="OnSubmitClick" />
|
||||
|
||||
</StackPanel>
|
||||
<Label x:Name="LblFilename" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,10" Content="Ungespeichert *" />
|
||||
<Label x:Name="LblFilename" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,0" Content="Ungespeichert *" />
|
||||
<Button Content="Dark Mode" Click="OnDarkModeClick" x:Name="BtnTheme" HorizontalAlignment="Right" Margin="0,0,0,0" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- Überoberer Teil: Title -->
|
||||
<Border DockPanel.Dock="Top" Background="#232327" Height="82" Margin="0,0,0,10">
|
||||
<Border DockPanel.Dock="Top" x:Name="BrdTitle" Height="82" Margin="0,0,0,10">
|
||||
<Grid Margin="10">
|
||||
<StackPanel Grid.Column="0" Margin="5" Spacing="5">
|
||||
<TextBlock Text="Titel der Arbeit" FontWeight="Bold" Foreground="White" />
|
||||
<TextBlock Text="Titel der Arbeit" FontWeight="Bold" />
|
||||
<TextBox Name="TitleField" Height="33"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- Oberer Teil: Name, Vorname, Datum -->
|
||||
<Border DockPanel.Dock="Top" Background="#232327" Height="82" Margin="0,0,0,10">
|
||||
<Border DockPanel.Dock="Top" x:Name="BrdName" Height="82" Margin="0,0,0,10">
|
||||
<Grid Margin="10">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
@@ -40,22 +41,22 @@
|
||||
<ColumnDefinition Width="350" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Grid.Column="0" Margin="5" Spacing="5">
|
||||
<TextBlock Text="Name" FontWeight="Bold" Foreground="White" />
|
||||
<TextBlock Text="Name" FontWeight="Bold" />
|
||||
<TextBox Name="NameField" Height="33"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Column="1" Margin="5" Spacing="5">
|
||||
<TextBlock Text="Vorname" FontWeight="Bold" Foreground="White" />
|
||||
<TextBlock Text="Vorname" FontWeight="Bold" />
|
||||
<TextBox Name="VornameField" Height="33"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Column="2" Margin="5" Spacing="5">
|
||||
<TextBlock Text="Datum" HorizontalAlignment="Stretch" FontWeight="Bold" Foreground="White" />
|
||||
<TextBlock Text="Datum" HorizontalAlignment="Stretch" FontWeight="Bold" />
|
||||
<DatePicker Name="DatumField" Width="340" Height="33" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- Mittlerer Teil: Tabansicht -->
|
||||
<Border Background="#232327" Margin="0,0,0,0">
|
||||
<Border x:Name="BrdMid" Margin="0,0,0,0">
|
||||
<DockPanel>
|
||||
<Button Content="Weitere Aufgabenlösung hinzufügen" DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="10,10,10,0" Click="OnAddTabClick" />
|
||||
<TabControl Name="TabView" Margin="10">
|
||||
|
||||
Reference in New Issue
Block a user