Skip to content

Commit 85ca6b0

Browse files
committed
ux: main tab bar button alignment
Signed-off-by: leo <longshuang@msn.cn>
1 parent 0b4be6e commit 85ca6b0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Views/LauncherTabBar.axaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
<Grid ColumnDefinitions="Auto,*,Auto">
1414
<RepeatButton Grid.Column="0"
1515
Classes="icon_button"
16-
Width="18" Height="30"
16+
Width="18" Height="28"
17+
Margin="0,2,0,0"
1718
Click="ScrollTabsLeft"
1819
IsVisible="{Binding #ThisControl.IsScrollerVisible}">
1920
<Path Width="8" Height="14" Stretch="Fill" Data="{StaticResource Icons.TriangleLeft}"/>
@@ -148,11 +149,11 @@
148149
</ScrollViewer>
149150

150151
<StackPanel Grid.Column="2" Orientation="Horizontal" IsVisible="{Binding #ThisControl.IsScrollerVisible}">
151-
<RepeatButton Classes="icon_button" Width="18" Height="30" Click="ScrollTabsRight">
152+
<RepeatButton Classes="icon_button" Width="18" Height="28" Margin="0,2,0,0" Click="ScrollTabsRight">
152153
<Path Width="8" Height="14" Stretch="Fill" Data="{StaticResource Icons.TriangleRight}"/>
153154
</RepeatButton>
154155

155-
<Button Classes="icon_button" Width="16" Height="16" Margin="4,0,0,0" Command="{Binding AddNewTab}" HotKey="{OnPlatform Ctrl+T, macOS=⌘+T}">
156+
<Button Classes="icon_button" Width="16" Height="28" Margin="4,2,0,0" Command="{Binding AddNewTab}" HotKey="{OnPlatform Ctrl+T, macOS=⌘+T}">
156157
<ToolTip.Tip>
157158
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
158159
<TextBlock Text="{DynamicResource Text.PageTabBar.New}" VerticalAlignment="Center"/>

0 commit comments

Comments
 (0)