Skip to content

Commit cc7dc4a

Browse files
committed
Introduce unified settings panel design for search delay panel
1 parent aec11ce commit cc7dc4a

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Flow.Launcher/Resources/Controls/InstalledPluginSearchDelay.xaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,32 @@
1111
mc:Ignorable="d">
1212
<Border
1313
Width="Auto"
14-
Height="52"
14+
Height="Auto"
1515
Margin="0"
1616
Padding="0"
1717
BorderThickness="0 1 0 0"
1818
CornerRadius="0"
1919
Style="{DynamicResource SettingGroupBox}">
20-
<DockPanel Margin="22 0 18 0" VerticalAlignment="Center">
20+
<DockPanel Margin="{StaticResource SettingPanelMargin}">
2121
<TextBlock
22-
Margin="48 0 10 0"
22+
Margin="{StaticResource SettingPanelItemRightMargin}"
23+
HorizontalAlignment="Left"
24+
VerticalAlignment="Center"
2325
DockPanel.Dock="Left"
2426
Style="{StaticResource Glyph}">
2527
&#xE916;
2628
</TextBlock>
2729
<TextBlock
30+
Margin="{StaticResource SettingPanelItemRightMargin}"
2831
HorizontalAlignment="Left"
2932
VerticalAlignment="Center"
3033
DockPanel.Dock="Left"
3134
Style="{DynamicResource SettingTitleLabel}"
3235
Text="{DynamicResource searchDelayTime}" />
36+
<!-- Here Margin="0 -4.5 0 -4.5" is to remove redundant top bottom margin from Margin="{StaticResource SettingPanelMargin}" -->
3337
<ComboBox
3438
Width="100"
35-
Height="34"
36-
Margin="5 0 0 0"
39+
Margin="0 -4.5 0 -4.5"
3740
HorizontalAlignment="Right"
3841
Cursor="Hand"
3942
DockPanel.Dock="Right"

0 commit comments

Comments
 (0)