Skip to content

Commit

Permalink
Fix layout issue in settings window (see #414)
Browse files Browse the repository at this point in the history
  • Loading branch information
samhocevar committed Jun 4, 2021
1 parent dd48e3d commit 67e47cf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/wincompose/ui/SettingsWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>

<StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal"
Expand All @@ -116,28 +117,28 @@
<TextBlock Text="{x:Static i18n:Text.AutoLaunch}" TextWrapping="Wrap"/>
</CheckBox>

<CheckBox Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2"
<CheckBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
Margin="8,4" VerticalAlignment="Center"
IsChecked="{Binding Value, Source={x:Static wc:Settings.RunElevated}}"
ToolTipService.ToolTip="{x:Static i18n:Text.RunElevatedToolTip}">
<TextBlock Text="{x:Static i18n:Text.RunElevated}" TextWrapping="Wrap"/>
</CheckBox>

<CheckBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
<CheckBox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2"
Margin="8,4" VerticalAlignment="Center"
IsChecked="{Binding Value, Source={x:Static wc:Settings.CheckUpdates}}"
ToolTipService.ToolTip="{x:Static i18n:Text.CheckUpdatesToolTip}">
<TextBlock Text="{x:Static i18n:Text.CheckUpdates}" TextWrapping="Wrap"/>
</CheckBox>

<CheckBox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2"
<CheckBox Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2"
Margin="8,4" VerticalAlignment="Center"
IsChecked="{Binding Value, Source={x:Static wc:Settings.KeepIconVisible}}"
ToolTipService.ToolTip="{x:Static i18n:Text.KeepIconVisibleToolTip}">
<TextBlock Text="{x:Static i18n:Text.KeepIconVisible}" TextWrapping="Wrap"/>
</CheckBox>

<CheckBox Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2"
<CheckBox Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2"
Margin="8,4" VerticalAlignment="Center"
IsChecked="{Binding Value, Source={x:Static wc:Settings.DisableIcon}}"
ToolTipService.ToolTip="{x:Static i18n:Text.DisableIconToolTip}">
Expand Down

0 comments on commit 67e47cf

Please sign in to comment.