mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
style: keep the launcher's title bar consistent across platforms
This commit is contained in:
parent
56f5f3b4a7
commit
7ba7e58c9f
1 changed files with 3 additions and 19 deletions
|
@ -48,12 +48,11 @@
|
|||
<v:CaptionButtonsMacOS VerticalAlignment="Bottom"/>
|
||||
</Border>
|
||||
|
||||
<!-- Menu (Windows) -->
|
||||
<Button Grid.Column="0"
|
||||
<!-- Menu -->
|
||||
<Button Grid.Column="{OnPlatform 0, macOS=2}"
|
||||
Classes="icon_button"
|
||||
Margin="4,0,2,3"
|
||||
VerticalAlignment="Bottom"
|
||||
IsVisible="{OnPlatform True, macOS=False}">
|
||||
VerticalAlignment="Bottom">
|
||||
<Button.Flyout>
|
||||
<MenuFlyout Placement="BottomEdgeAlignedLeft" VerticalOffset="-8">
|
||||
<MenuItem Header="{DynamicResource Text.Preference}" Click="OpenPreference">
|
||||
|
@ -225,21 +224,6 @@
|
|||
</Button>
|
||||
</Grid>
|
||||
|
||||
<!-- Extra Buttons (macOS) -->
|
||||
<StackPanel Grid.Column="2" Orientation="Horizontal" Margin="32,0,8,0" Height="30" VerticalAlignment="Bottom" IsVisible="{OnPlatform False, macOS=True}">
|
||||
<Button Classes="icon_button" Width="32" Height="28" Click="OpenPreference" ToolTip.Tip="{DynamicResource Text.Preference}">
|
||||
<Path Width="16" Height="16" Data="{StaticResource Icons.Settings2}"/>
|
||||
</Button>
|
||||
|
||||
<Button Classes="icon_button" Width="32" Height="28" Click="OpenHotkeys" ToolTip.Tip="{DynamicResource Text.Hotkeys}">
|
||||
<Path Width="16" Height="16" Data="{StaticResource Icons.Hotkeys}"/>
|
||||
</Button>
|
||||
|
||||
<Button Classes="icon_button" Width="32" Height="28" Click="OpenAboutDialog" ToolTip.Tip="{DynamicResource Text.About}">
|
||||
<Path Width="16" Height="16" Data="{StaticResource Icons.Info}"/>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
|
||||
<!-- Caption Buttons (Windows/Linux)-->
|
||||
<Border Grid.Column="2" Margin="32,0,0,0" IsVisible="{OnPlatform True, macOS=False}">
|
||||
<v:CaptionButtons Height="30" VerticalAlignment="Top"/>
|
||||
|
|
Loading…
Reference in a new issue