Skip to content

Commit 990f932

Browse files
committed
Resizeable window PR: remove GridSplitter
1 parent 8c3ef71 commit 990f932

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@
4141
<!-- Theme Preview and Editor -->
4242
<Grid Height="380">
4343
<Grid.Resources>
44-
<!-- Style for the first ColumnDefinition -->
45-
<Style x:Key="FirstColumnStyle" TargetType="ColumnDefinition">
46-
<Style.Triggers>
47-
<DataTrigger Binding="{Binding ElementName=Editor, Path=IsChecked}" Value="False">
48-
<Setter Property="Width" Value="*" />
49-
</DataTrigger>
50-
<DataTrigger Binding="{Binding ElementName=Editor, Path=IsChecked}" Value="True">
51-
<Setter Property="Width" Value="8*" />
52-
</DataTrigger>
53-
</Style.Triggers>
54-
</Style>
5544
<!-- Style for the second ColumnDefinition -->
5645
<Style x:Key="SecondColumnStyle" TargetType="ColumnDefinition">
5746
<Style.Triggers>
@@ -66,18 +55,12 @@
6655
</Style>
6756
</Grid.Resources>
6857
<Grid.ColumnDefinitions>
69-
<ColumnDefinition MinWidth="500" Style="{StaticResource FirstColumnStyle}" />
70-
<ColumnDefinition Width="0" />
58+
<ColumnDefinition Width="8*" />
7159
<ColumnDefinition MaxWidth="250" Style="{StaticResource SecondColumnStyle}" />
7260
</Grid.ColumnDefinitions>
73-
<GridSplitter
74-
Grid.Column="1"
75-
Width="0"
76-
HorizontalAlignment="Stretch"
77-
Background="Transparent" />
7861
<!-- Theme Size Editor -->
7962
<Border
80-
Grid.Column="2"
63+
Grid.Column="1"
8164
Padding="0 0 0 0"
8265
Background="{DynamicResource Color00B}"
8366
BorderBrush="{DynamicResource Color03B}"

0 commit comments

Comments
 (0)