ux: Preference fit to content width

This commit is contained in:
Gadfly 2024-08-21 17:31:27 +08:00
parent be54361e9d
commit 5575adf849
No known key found for this signature in database

View file

@ -13,10 +13,10 @@
x:Name="ThisControl"
Icon="/App.ico"
Title="{DynamicResource Text.Preference}"
Width="600" SizeToContent="Height"
SizeToContent="WidthAndHeight"
CanResize="False"
WindowStartupLocation="CenterScreen">
<Grid RowDefinitions="Auto,Auto">
<Grid RowDefinitions="Auto,Auto" MinWidth="600">
<!-- TitleBar -->
<Grid Grid.Row="0" ColumnDefinitions="Auto,*,Auto" Height="30">
<Border Grid.Column="0" Grid.ColumnSpan="3"