[Hosts]Improve Resizing behavior, don't hide host names (#32788)

* ui improvements

* ui improvements

* feedback
This commit is contained in:
Heiko 2024-05-31 10:45:20 +02:00 committed by GitHub
parent 4c9e18116c
commit 92e8b06068
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@
xmlns:winuiex="using:WinUIEx"
x:Uid="Window"
Width="680"
MinWidth="480"
MinWidth="520"
MinHeight="320"
mc:Ignorable="d">
<Window.SystemBackdrop>

View File

@ -412,23 +412,23 @@
<ListView.ItemTemplate>
<DataTemplate x:DataType="models:Entry">
<Grid
Margin="0"
AutomationProperties.Name="{x:Bind Address, Mode=OneWay}"
Background="Transparent"
ColumnSpacing="8">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="256" />
<ColumnDefinition Width="*" MinWidth="150" />
<!-- Address -->
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" MinWidth="120" />
<!-- Comment -->
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="20" />
<!-- Status -->
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="20" />
<!-- Duplicate -->
<ColumnDefinition Width="Auto" />
<!-- ToggleSwitch -->
<ColumnDefinition Width="Auto" />
<!-- DeleteEntry -->
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock
Grid.Column="0"
@ -511,7 +511,7 @@
Grid.Column="4"
Width="40"
MinWidth="0"
HorizontalAlignment="Right"
HorizontalAlignment="Center"
GotFocus="Entries_GotFocus"
IsOn="{x:Bind Active, Mode=TwoWay}"
OffContent=""