Skip to content

Commit 0c5442c

Browse files
committed
Change the window size to responsive
1 parent 83a6be6 commit 0c5442c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Flow.Launcher/SelectFileManagerWindow.xaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
xmlns:ui="http://schemas.modernwpf.com/2019"
99
Title="{DynamicResource fileManagerWindow}"
10-
Width="600"
11-
Height="550"
1210
Background="#f3f3f3"
1311
DataContext="{Binding RelativeSource={RelativeSource Self}}"
1412
ResizeMode="NoResize"
13+
SizeToContent="WidthAndHeight"
1514
WindowStartupLocation="CenterScreen"
1615
mc:Ignorable="d">
17-
<Grid>
16+
<Grid Width="600">
1817
<Grid.RowDefinitions>
1918
<RowDefinition />
2019
<RowDefinition Height="80" />
@@ -152,7 +151,7 @@
152151
<TextBlock
153152
Grid.Row="3"
154153
Grid.Column="0"
155-
Margin="14,10,0,0"
154+
Margin="14,10,0,20"
156155
HorizontalAlignment="Left"
157156
VerticalAlignment="Center"
158157
FontSize="14"
@@ -161,7 +160,7 @@
161160
Grid.Row="3"
162161
Grid.Column="1"
163162
Width="Auto"
164-
Margin="10,10,15,0"
163+
Margin="10,10,15,20"
165164
HorizontalAlignment="Stretch"
166165
VerticalAlignment="Center"
167166
IsEnabled="{Binding Editable}"

0 commit comments

Comments
 (0)