mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[Hosts]Improve Resizing behavior, don't hide host names (#32788)
* ui improvements * ui improvements * feedback
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
xmlns:winuiex="using:WinUIEx"
|
xmlns:winuiex="using:WinUIEx"
|
||||||
x:Uid="Window"
|
x:Uid="Window"
|
||||||
Width="680"
|
Width="680"
|
||||||
MinWidth="480"
|
MinWidth="520"
|
||||||
MinHeight="320"
|
MinHeight="320"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<Window.SystemBackdrop>
|
<Window.SystemBackdrop>
|
||||||
|
|||||||
@@ -412,23 +412,23 @@
|
|||||||
<ListView.ItemTemplate>
|
<ListView.ItemTemplate>
|
||||||
<DataTemplate x:DataType="models:Entry">
|
<DataTemplate x:DataType="models:Entry">
|
||||||
<Grid
|
<Grid
|
||||||
|
Margin="0"
|
||||||
AutomationProperties.Name="{x:Bind Address, Mode=OneWay}"
|
AutomationProperties.Name="{x:Bind Address, Mode=OneWay}"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
ColumnSpacing="8">
|
ColumnSpacing="8">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="256" />
|
<ColumnDefinition Width="*" MinWidth="150" />
|
||||||
<!-- Address -->
|
<!-- Address -->
|
||||||
<ColumnDefinition Width="*" />
|
<ColumnDefinition Width="*" MinWidth="120" />
|
||||||
<!-- Comment -->
|
<!-- Comment -->
|
||||||
<ColumnDefinition Width="Auto" />
|
<ColumnDefinition Width="20" />
|
||||||
<!-- Status -->
|
<!-- Status -->
|
||||||
<ColumnDefinition Width="Auto" />
|
<ColumnDefinition Width="20" />
|
||||||
<!-- Duplicate -->
|
<!-- Duplicate -->
|
||||||
<ColumnDefinition Width="Auto" />
|
<ColumnDefinition Width="Auto" />
|
||||||
<!-- ToggleSwitch -->
|
<!-- ToggleSwitch -->
|
||||||
<ColumnDefinition Width="Auto" />
|
<ColumnDefinition Width="Auto" />
|
||||||
<!-- DeleteEntry -->
|
<!-- DeleteEntry -->
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
@@ -511,7 +511,7 @@
|
|||||||
Grid.Column="4"
|
Grid.Column="4"
|
||||||
Width="40"
|
Width="40"
|
||||||
MinWidth="0"
|
MinWidth="0"
|
||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Center"
|
||||||
GotFocus="Entries_GotFocus"
|
GotFocus="Entries_GotFocus"
|
||||||
IsOn="{x:Bind Active, Mode=TwoWay}"
|
IsOn="{x:Bind Active, Mode=TwoWay}"
|
||||||
OffContent=""
|
OffContent=""
|
||||||
|
|||||||
Reference in New Issue
Block a user