Skip to content

Commit

Permalink
Fixed list alignment 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
Inestic committed Mar 29, 2022
1 parent 0e73e4d commit 4aa0f7b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions SophiApp/SophiApp/Controls/DropDownList.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<ControlTemplate TargetType="{x:Type ListBoxItem}">
<Grid x:Name="GridContainer" Background="{DynamicResource Brush.Window.Background}">
<TextBlock
Margin="43,3,0,3"
HorizontalAlignment="Left"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Foreground="{DynamicResource Brush.Window.Foreground}"
Style="{DynamicResource NormalText}"
Text="{Binding}" />
Expand Down
18 changes: 9 additions & 9 deletions SophiApp/SophiApp/Views/ViewSettings.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<converters:BoolToVisibility x:Key="BoolToVisibilityConverter" />
<Thickness
x:Key="BlockIndent"
Bottom="12"
Bottom="15"
Left="20"
Right="0"
Top="0" />
Expand Down Expand Up @@ -115,23 +115,23 @@
Style="{DynamicResource SubHeaderText}"
Text="{DynamicResource Localization.Settings}" />

<StackPanel Orientation="Horizontal">
<StackPanel Orientation="Horizontal"
Margin="{StaticResource BlockIndent}">

<ContentPresenter Content="{DynamicResource Icon.Settings.Small}"
VerticalAlignment="Stretch"
Margin="0, 0, 10, 2"/>

<controls:SettingSwitch
Width="290"
Margin="{StaticResource BlockIndent}"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Command="{Binding AdvancedSettingsClickedCommand}"
Header="{DynamicResource Localization.Settings.Advanced}"
IsChecked="{Binding AdvancedSettingsVisibility}" />
<ContentPresenter Content="{DynamicResource Icon.Settings}"
VerticalAlignment="Center"
HorizontalAlignment="Left"
Margin="-10, 0, 0, 0"/>
</StackPanel>

<controls:SettingSwitch
Width="290"
Width="315"
Margin="{StaticResource BlockIndent}"
HorizontalAlignment="Left"
Command="{Binding DebugModeClickedCommand}"
Expand Down

0 comments on commit 4aa0f7b

Please sign in to comment.