Skip to content

Commit 5ff1e73

Browse files
committed
- Adjust Content Control Margin
- Adjust Calc/webseearch plugin setting Margin
2 parents 234816d + 2dc8bb3 commit 5ff1e73

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Flow.Launcher/SettingWindow.xaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,18 +656,20 @@
656656

657657
<StackPanel>
658658

659-
<!--#region SubInfo Styling -->
660-
<Border Background="White" Padding="14 0 14 0"
659+
660+
<Border Background="White" Padding="0"
661661
BorderThickness="0 1 0 0" BorderBrush="#e6e6e6"
662662
VerticalAlignment="Center" HorizontalAlignment="Stretch"
663663
MaxHeight="480">
664+
<!--#region SubInfo Styling -->
664665
<Border.Style>
665666
<Style TargetType="{x:Type Border}">
666667
<Setter Property="Visibility" Value="Visible" />
667668
<Style.Triggers>
668669
<DataTrigger Binding="{Binding ElementName=SettingControl, Path=ActualHeight}" Value="0">
669670
<Setter Property="Visibility" Value="Collapsed" />
670671
<Setter Property="BorderThickness" Value="0" />
672+
<Setter Property="Padding" Value="0" />
671673
</DataTrigger>
672674
</Style.Triggers>
673675
</Style>
@@ -676,7 +678,7 @@
676678
<!--#endregion-->
677679
<ContentControl x:Name="SettingControl"
678680
Content="{Binding SettingControl}"
679-
Padding="0 12 0 12" Margin="0 0 0 0" VerticalAlignment="Stretch"
681+
Padding="1" Margin="0" VerticalAlignment="Stretch"
680682
MaxWidth="750" >
681683
</ContentControl>
682684

Plugins/Flow.Launcher.Plugin.Calculator/Views/CalculatorSettings.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<core:LocalizationConverter x:Key="LocalizationConverter"/>
1616
</UserControl.Resources>
1717

18-
<Grid Margin="20 0 0 0">
18+
<Grid Margin="20 14 0 14">
1919
<Grid.RowDefinitions>
2020
<RowDefinition Height="auto"/>
2121
<RowDefinition Height="auto"/>

Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</DockPanel>
3333
</DataTemplate>
3434
</UserControl.Resources>
35-
<Grid Margin="10 10 0 0">
35+
<Grid Margin="14">
3636
<Grid.RowDefinitions>
3737
<RowDefinition Height="30" />
3838
<RowDefinition Height="48" />

0 commit comments

Comments
 (0)