Bugfix: Label path
This commit is contained in:
@@ -30,7 +30,8 @@
|
||||
<DrawerPage x:Name="RootDrawer"
|
||||
DrawerLength="220"
|
||||
DrawerBehavior="Auto"
|
||||
DrawerLayoutBehavior="CompactInline">
|
||||
DrawerLayoutBehavior="CompactInline"
|
||||
Content="{Binding CurrentPage}">
|
||||
|
||||
<DrawerPage.DataTemplates>
|
||||
<DataTemplate DataType="vm:DashboardViewModel">
|
||||
@@ -62,26 +63,6 @@
|
||||
</DataTemplate>
|
||||
</DrawerPage.DataTemplates>
|
||||
|
||||
<DrawerPage.Content>
|
||||
<DockPanel>
|
||||
<Border DockPanel.Dock="Top"
|
||||
IsVisible="{Binding SyncStatus.IsIncompatibleVersion}"
|
||||
Background="#B3261E" Padding="16,12">
|
||||
<StackPanel Orientation="Horizontal" Spacing="10">
|
||||
<TextBlock Text="⚠" FontSize="18" Foreground="White"
|
||||
VerticalAlignment="Center"/>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Software-Update erforderlich"
|
||||
Foreground="White" FontWeight="SemiBold"/>
|
||||
<TextBlock Text="{x:Static vm:SyncStatusViewModel.IncompatibleVersionMessage}"
|
||||
Foreground="White" Opacity="0.92" TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<ContentControl Content="{Binding CurrentPage}"/>
|
||||
</DockPanel>
|
||||
</DrawerPage.Content>
|
||||
|
||||
<DrawerPage.Drawer>
|
||||
<DockPanel Classes.compact="{Binding !#RootDrawer.IsOpen}">
|
||||
<DockPanel.Styles>
|
||||
@@ -245,6 +226,25 @@
|
||||
|
||||
</DrawerPage>
|
||||
|
||||
<!-- Dauerhafte Meldung bei einer echten Protokoll-Inkompatibilität. Als Overlay außerhalb
|
||||
von DrawerPage.Content bleibt der DataContext das MainWindowViewModel; innerhalb des
|
||||
ContentPresenters würde eine fehlgeschlagene Bindung IsVisible auf true stehen lassen. -->
|
||||
<Border IsVisible="{Binding SyncStatus.IsIncompatibleVersion}"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Top"
|
||||
MaxWidth="760" Margin="0,12,12,0"
|
||||
Background="#B3261E" CornerRadius="8" Padding="16,12">
|
||||
<StackPanel Orientation="Horizontal" Spacing="10">
|
||||
<TextBlock Text="⚠" FontSize="18" Foreground="White"
|
||||
VerticalAlignment="Center"/>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Software-Update erforderlich"
|
||||
Foreground="White" FontWeight="SemiBold"/>
|
||||
<TextBlock Text="{x:Static vm:SyncStatusViewModel.IncompatibleVersionMessage}"
|
||||
Foreground="White" Opacity="0.92" TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
<!-- Toast-Benachrichtigungen (13.2.3): schweben über der aktuellen Seite, unten rechts. -->
|
||||
<ItemsControl ItemsSource="{Binding Toasts}"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Bottom"
|
||||
|
||||
Reference in New Issue
Block a user