Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep on top feature #6494

Closed
wants to merge 8 commits into from
14 changes: 14 additions & 0 deletions src/cascadia/TerminalApp/TitlebarControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ the MIT License. See LICENSE in the project root for license information. -->
Grid.Column="1"
MinWidth="45.0"
DoubleTapped="DragBar_DoubleTapped"/>
<Button
x:Name="KeepOnTopButton"
MinWidth="46.0"
Width="46.0"
Height="36"
Margin="220,0,0,0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be removed. Generally you should not hardcode margins

Content="&#xE840;"
FontFamily="Segoe MDL2 Assets"
FontSize="12"
FontWeight="SemiLight"
UseLayoutRounding="True"
HorizontalAlignment="Right"
VerticalAlignment="Stretch"
Grid.Row="2"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace it with Grid.Column="2"


<local:MinMaxCloseControl
Grid.Column="2"
Expand Down