[1.12] Fix vertical alignment of elevated shield #15450

Closed
opened 2026-01-31 04:38:58 +00:00 by claunia · 1 comment
Owner

Originally created by @DHowett on GitHub (Oct 5, 2021).

Originally assigned to: @zadjii-msft on GitHub.

It doesn't really optically line up with anything, and the bottom padding is very small.

image

Originally created by @DHowett on GitHub (Oct 5, 2021). Originally assigned to: @zadjii-msft on GitHub. It doesn't really optically line up with anything, and the bottom padding is very small. ![image](https://user-images.githubusercontent.com/189190/136043552-dc25b907-e960-4dfd-9d9f-733814460943.png)
Author
Owner

@zadjii-msft commented on GitHub (Oct 5, 2021):

Oh I know what's the issue here. I know why this feels off:

        <mux:TabView.TabStripFooter>
            <mux:SplitButton x:Name="NewTabButton"
                             x:Uid="NewTabSplitButton"
                             HorizontalAlignment="Left"
                             VerticalAlignment="Stretch"
                             BorderThickness="0"
                             Click="OnNewTabButtonClick"
                             Content="&#xE710;"
                             FontFamily="Segoe MDL2 Assets"
                             FontSize="12"
                             FontWeight="SemiLight"
                             UseLayoutRounding="true">

The Footer we're using has a button inside it, and that button has some padding inside it for it's icon. That's why it feels off.

@zadjii-msft commented on GitHub (Oct 5, 2021): Oh I know what's the issue here. I know why this feels off: ```xaml <mux:TabView.TabStripFooter> <mux:SplitButton x:Name="NewTabButton" x:Uid="NewTabSplitButton" HorizontalAlignment="Left" VerticalAlignment="Stretch" BorderThickness="0" Click="OnNewTabButtonClick" Content="&#xE710;" FontFamily="Segoe MDL2 Assets" FontSize="12" FontWeight="SemiLight" UseLayoutRounding="true"> ``` The Footer we're using has a _button_ inside it, and that button has some padding inside it for it's icon. That's why it feels off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15450