Fix title bar in WinUI 3 sample, update to WASDK 1.0.3
このコミットが含まれているのは:
1 親
76d9fcc2d8
コミット
73e00809d8
4ファイル変更
+8
-21
検索条件に一致するファイルはありません
@@ -217,22 +217,10 @@
|
||||
</Button>
|
||||
</StackPanel>
|
||||
|
||||
<!-- Close button -->
|
||||
<Button
|
||||
Margin="48"
|
||||
Padding="20"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Click="CloseButton_Click"
|
||||
CornerRadius="9999"
|
||||
ToolTipService.ToolTip="Close">
|
||||
<SymbolIcon Symbol="Cancel" />
|
||||
</Button>
|
||||
|
||||
<!-- Invisible title bar -->
|
||||
<Rectangle
|
||||
x:Name="TitleBarRectangle"
|
||||
Height="32"
|
||||
Height="28"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Top"
|
||||
Fill="Transparent" />
|
||||
|
||||
@@ -44,10 +44,4 @@ public sealed partial class MainWindow : Window
|
||||
{
|
||||
ShadersListContainerPanel.Height = Math.Round(e.Size.Height * 0.35);
|
||||
}
|
||||
|
||||
// Closes the app
|
||||
private void CloseButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Application.Current.Exit();
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする