mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 02:06:36 +02:00
- Upgrade to WASDK 1.8.5 that includes a fix for the `TitleBar` control. - Remove the workaround from windows that use this control, as we can set the `TitleBar` directly now
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<winuiex:WindowEx
|
|
x:Class="FileLocksmithUI.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:views="using:PowerToys.FileLocksmithUI.Views"
|
|
xmlns:winuiex="using:WinUIEx"
|
|
Width="680"
|
|
MinWidth="480"
|
|
MinHeight="320"
|
|
IsShownInSwitchers="True"
|
|
IsTitleBarVisible="True"
|
|
mc:Ignorable="d">
|
|
<Window.SystemBackdrop>
|
|
<MicaBackdrop />
|
|
</Window.SystemBackdrop>
|
|
<Grid RowSpacing="16">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<TitleBar x:Name="titleBar" IsTabStop="False">
|
|
<TitleBar.IconSource>
|
|
<ImageIconSource ImageSource="/Assets/FileLocksmith/Icon.ico" />
|
|
</TitleBar.IconSource>
|
|
</TitleBar>
|
|
<views:MainPage x:Name="mainPage" Grid.Row="1" />
|
|
</Grid>
|
|
</winuiex:WindowEx> |