Skip to content

Commit 2b134c8

Browse files
committed
Adjust Design & Add Searchbox in plugin store
1 parent ee0f8ef commit 2b134c8

File tree

1 file changed

+43
-23
lines changed

1 file changed

+43
-23
lines changed

Flow.Launcher/SettingWindow.xaml

Lines changed: 43 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -901,30 +901,38 @@
901901
<ColumnDefinition />
902902
</Grid.ColumnDefinitions>
903903
<Grid.RowDefinitions>
904-
<RowDefinition Height="73" />
905904
<RowDefinition Height="73" />
906905
<RowDefinition Height="*" />
907906
</Grid.RowDefinitions>
908-
<Border Grid.Row="0" Padding="5,18,0,0">
909-
<TextBlock
910-
Margin="0,5,0,0"
911-
FontSize="30"
912-
Style="{StaticResource PageTitle}"
913-
Text="{DynamicResource plugin}"
914-
TextAlignment="left" />
915-
</Border>
916-
<Border Grid.Row="1" Padding="5,18,0,0">
917-
<TextBox
918-
Name="pluginFilterTxb"
919-
Margin="0,5,0,0"
920-
FontSize="30"
921-
Text=""
922-
TextAlignment="left"
923-
TextChanged="OnPluginSearchTextChanged"
924-
/>
907+
<Border
908+
Grid.Row="0"
909+
Padding="5,18,0,0"
910+
HorizontalAlignment="Stretch">
911+
<DockPanel>
912+
<TextBlock
913+
Margin="0,5,0,0"
914+
DockPanel.Dock="Left"
915+
FontSize="30"
916+
Style="{StaticResource PageTitle}"
917+
Text="{DynamicResource plugin}"
918+
TextAlignment="Left" />
919+
<DockPanel DockPanel.Dock="Right">
920+
<TextBox
921+
Name="pluginFilterTxb"
922+
Width="150"
923+
Height="34"
924+
Margin="0,5,26,0"
925+
HorizontalAlignment="Right"
926+
DockPanel.Dock="Right"
927+
FontSize="14"
928+
Text=""
929+
TextAlignment="Left"
930+
TextChanged="OnPluginSearchTextChanged" />
931+
</DockPanel>
932+
</DockPanel>
925933
</Border>
926934
<Border
927-
Grid.Row="2"
935+
Grid.Row="1"
928936
Grid.Column="0"
929937
Padding="0,0,0,0"
930938
Background="{DynamicResource Color01B}">
@@ -1296,19 +1304,31 @@
12961304
Text="{DynamicResource pluginStore}"
12971305
TextAlignment="left" />
12981306
</Border>
1299-
<Border
1307+
<DockPanel
13001308
Grid.Row="0"
13011309
Grid.Column="1"
1302-
Padding="5,18,32,0">
1310+
Margin="5,18,0,0">
13031311
<Button
13041312
Height="34"
1305-
Margin="0,5,0,5"
1313+
Margin="0,5,16,5"
13061314
Padding="12,4,12,4"
13071315
HorizontalAlignment="Right"
1316+
VerticalAlignment="Center"
13081317
Click="OnPluginStoreRefreshClick"
13091318
Content="{DynamicResource refresh}"
1319+
DockPanel.Dock="Right"
13101320
FontSize="13" />
1311-
</Border>
1321+
<TextBox
1322+
Width="150"
1323+
Height="34"
1324+
Margin="0,0,6,0"
1325+
HorizontalAlignment="Right"
1326+
DockPanel.Dock="Right"
1327+
FontSize="14"
1328+
Text=""
1329+
TextAlignment="Left" />
1330+
1331+
</DockPanel>
13121332
<Border
13131333
Grid.Row="1"
13141334
Grid.Column="0"

0 commit comments

Comments
 (0)