feat: Use border textbox.
This commit is contained in:
parent
cb9542ad25
commit
be0d3d1aad
@ -59,10 +59,7 @@
|
|||||||
Data="{DynamicResource ManagedFileChooserUpButtonGlyph}"
|
Data="{DynamicResource ManagedFileChooserUpButtonGlyph}"
|
||||||
Foreground="{DynamicResource ManagedFileChooserIconForeground}" />
|
Foreground="{DynamicResource ManagedFileChooserIconForeground}" />
|
||||||
</Button>
|
</Button>
|
||||||
<TextBox
|
<TextBox x:Name="Location" Text="{Binding Location}">
|
||||||
x:Name="Location"
|
|
||||||
Text="{Binding Location}"
|
|
||||||
Theme="{DynamicResource BorderlessTextBox}">
|
|
||||||
<TextBox.KeyBindings>
|
<TextBox.KeyBindings>
|
||||||
<KeyBinding Command="{Binding EnterPressed}" Gesture="Enter" />
|
<KeyBinding Command="{Binding EnterPressed}" Gesture="Enter" />
|
||||||
</TextBox.KeyBindings>
|
</TextBox.KeyBindings>
|
||||||
@ -79,7 +76,6 @@
|
|||||||
Margin="0,0,8,0"
|
Margin="0,0,8,0"
|
||||||
IsVisible="{Binding !SelectingFolder}"
|
IsVisible="{Binding !SelectingFolder}"
|
||||||
Text="{Binding FileName}"
|
Text="{Binding FileName}"
|
||||||
Theme="{DynamicResource BorderlessTextBox}"
|
|
||||||
Watermark="File name" />
|
Watermark="File name" />
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
<CheckBox
|
<CheckBox
|
||||||
@ -108,9 +104,15 @@
|
|||||||
<Border Padding="8" Theme="{DynamicResource CardBorder}">
|
<Border Padding="8" Theme="{DynamicResource CardBorder}">
|
||||||
<DockPanel Grid.IsSharedSizeScope="True">
|
<DockPanel Grid.IsSharedSizeScope="True">
|
||||||
<Grid
|
<Grid
|
||||||
|
Margin="0,0,0,8"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
ClipToBounds="True"
|
ClipToBounds="True"
|
||||||
DockPanel.Dock="Top">
|
DockPanel.Dock="Top">
|
||||||
|
<Grid.Styles>
|
||||||
|
<Style Selector="TextBlock">
|
||||||
|
<Setter Property="Margin" Value="8 0 0 0 " />
|
||||||
|
</Style>
|
||||||
|
</Grid.Styles>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="20" SharedSizeGroup="Icon" />
|
<ColumnDefinition Width="20" SharedSizeGroup="Icon" />
|
||||||
<ColumnDefinition Width="16" SharedSizeGroup="Splitter" />
|
<ColumnDefinition Width="16" SharedSizeGroup="Splitter" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user