Keep the gaps of the bottom bar equal

The editor button had a margin of its own on top of the grid's spacing.
This commit is contained in:
maj00r
2026-11-01 20:54:00 +01:00
parent 1f231423f3
commit 0d2e5de110

View File

@@ -96,7 +96,7 @@
<!-- The other ways to start - without saving, free fly - were only under the <!-- The other ways to start - without saving, free fly - were only under the
right button; the arrow beside it says they exist. The editor is not one right button; the arrow beside it says they exist. The editor is not one
of them: it opens the scenery itself, so it has a button of its own. --> of them: it opens the scenery itself, so it has a button of its own. -->
<Grid DockPanel.Dock="Bottom" ColumnDefinitions="*,Auto,Auto,Auto" ColumnSpacing="2" Margin="3"> <Grid DockPanel.Dock="Bottom" ColumnDefinitions="*,Auto,Auto,Auto" ColumnSpacing="4" Margin="3">
<Button Name="startButton" Classes="Start" Height="42" <Button Name="startButton" Classes="Start" Height="42"
TabIndex="9" TabIndex="9"
Click="StartButton_OnClick" Click="StartButton_OnClick"
@@ -107,7 +107,7 @@
ToolTip.Tip="{Binding [StartMore], Source={x:Static starterNg:App.Loc}}"> ToolTip.Tip="{Binding [StartMore], Source={x:Static starterNg:App.Loc}}">
<materialIcons:MaterialIcon Kind="ChevronUp" Width="20" Height="20" /> <materialIcons:MaterialIcon Kind="ChevronUp" Width="20" Height="20" />
</Button> </Button>
<Button Name="startEditorButton" Grid.Column="2" Classes="Flat" Height="42" Padding="14,0" Margin="12,0,0,0" <Button Name="startEditorButton" Grid.Column="2" Classes="Flat" Height="42" Padding="14,0"
TabIndex="11" Cursor="Hand" VerticalContentAlignment="Center" TabIndex="11" Cursor="Hand" VerticalContentAlignment="Center"
Click="StartEditorButton_OnClick" /> Click="StartEditorButton_OnClick" />
<Button Name="startEditorMoreButton" Grid.Column="3" Classes="Flat" Width="36" Height="42" Padding="0" <Button Name="startEditorMoreButton" Grid.Column="3" Classes="Flat" Width="36" Height="42" Padding="0"