- fix: DesignMode think

This commit is contained in:
2025-01-22 21:06:05 +03:00
parent 3af99d40a1
commit 019dd13d8e
11 changed files with 51 additions and 36 deletions

View File

@@ -38,9 +38,9 @@
PaneBackground="#00000000">
<SplitView.Pane>
<Border
Background="{StaticResource DefaultBackground}"
Background="{StaticResource DefaultForeground}"
BorderThickness="0,0,2,0"
CornerRadius="0,0,0,0"
CornerRadius="0,8,8,0"
Grid.Column="0"
Grid.Row="0"
Margin="0,0,5,0"
@@ -80,6 +80,7 @@
<Border
BorderThickness="0,2,0,0"
CornerRadius="0,0,0,0"
Background="{StaticResource DefaultForeground}"
Grid.Column="0"
Grid.ColumnSpan="2"
Grid.Row="1"
@@ -95,7 +96,7 @@
Margin="0"
Padding="0"
VerticalAlignment="Center">
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Center">https://cinka.ru/nebula-launcher/</TextBlock>
<TextBlock Foreground="#777777" HorizontalAlignment="Left" VerticalAlignment="Center">https://cinka.ru/nebula-launcher/</TextBlock>
</Button>
<TextBlock HorizontalAlignment="Right" VerticalAlignment="Center">prototype-product-v0.01</TextBlock>
</Panel>

View File

@@ -20,13 +20,12 @@
RowDefinitions="*,40">
<ScrollViewer Margin="0,0,0,10" Padding="0,0,10,0" Grid.RowSpan="2">
<ItemsControl
Background="#00000000"
ItemsSource="{Binding ServerInfos}"
Padding="0">
</ItemsControl>
</ScrollViewer>
<Border Grid.Row="1" Background="{StaticResource DefaultBackground}" BoxShadow="none">
<Border Grid.Row="1" Background="{StaticResource DefaultBackground}" BorderThickness="0">
</Border>

View File

@@ -17,12 +17,14 @@
</Design.DataContext>
<Border
Background="#00000000"
BorderThickness="2,1,0,1"
Background="Transparent"
BorderThickness="3,1,0,1"
BorderBrush="{StaticResource DefaultForeground}"
CornerRadius="10"
Margin="5">
<Grid ColumnDefinitions="*,80,50" RowDefinitions="35,*,*">
<Border
BorderBrush="{StaticResource DefaultForeground}"
Background="#00000000"
BorderThickness="0,0,0,2"
CornerRadius="10"
@@ -96,7 +98,8 @@
</Label>
<Border
Background="#00000000"
BorderBrush="{StaticResource DefaultForeground}"
Background="Transparent"
BorderThickness="0,2,0,0"
CornerRadius="10"
Grid.Column="0"
@@ -111,8 +114,9 @@
<ItemsControl.ItemTemplate>
<DataTemplate DataType="{x:Type system:String}">
<Border
Background="#121212"
Background="{StaticResource DefaultForeground}"
CornerRadius="8"
BorderThickness="0"
HorizontalAlignment="Center"
Margin="1,1,1,1"
VerticalAlignment="Center">
@@ -136,8 +140,9 @@
<StackPanel Orientation="Horizontal" >
<Label FontSize="10" VerticalAlignment="Center">Map:</Label>
<Border
Background="#121212"
Background="{StaticResource DefaultForeground}"
CornerRadius="8"
BorderThickness="0"
HorizontalAlignment="Center"
Margin="5"
VerticalAlignment="Center">
@@ -150,8 +155,9 @@
<StackPanel Orientation="Horizontal">
<Label FontSize="10" VerticalAlignment="Center">Preset:</Label>
<Border
Background="#121212"
Background="{StaticResource DefaultForeground}"
CornerRadius="8"
BorderThickness="0"
HorizontalAlignment="Center"
Margin="5"
VerticalAlignment="Center">