Tidy up UI so input elements dont stand out as much
This commit is contained in:
@@ -10,6 +10,10 @@
|
|||||||
<Thickness x:Key="TextControlMargin">0</Thickness>
|
<Thickness x:Key="TextControlMargin">0</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
||||||
|
<SolidColorBrush x:Key="DatePickerButtonBorderBrush" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="DatePickerButtonBorderBrushPointerOver" Color="Transparent" />
|
||||||
|
<Thickness x:Key="DatePickerHostPadding">0,5,0,6</Thickness>
|
||||||
|
<Thickness x:Key="DatePickerHostMonthPadding">9,5,0,6</Thickness>
|
||||||
</SettingsExpander.Resources>
|
</SettingsExpander.Resources>
|
||||||
<SettingsExpander.Action>
|
<SettingsExpander.Action>
|
||||||
<ItemEntryActionView />
|
<ItemEntryActionView />
|
||||||
@@ -22,6 +26,7 @@
|
|||||||
<Setter Property="MaxWidth" Value="{Binding Width}" />
|
<Setter Property="MaxWidth" Value="{Binding Width}" />
|
||||||
<Setter Property="MinWidth" Value="{Binding Width}" />
|
<Setter Property="MinWidth" Value="{Binding Width}" />
|
||||||
<Setter Property="IsVisible" Value="True" />
|
<Setter Property="IsVisible" Value="True" />
|
||||||
|
<Setter Property="Height" Value="32" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="DatePicker.Read">
|
<Style Selector="DatePicker.Read">
|
||||||
<Setter Property="MinWidth" Value="0" />
|
<Setter Property="MinWidth" Value="0" />
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
<Thickness x:Key="TextControlPadding">10,5,6,6</Thickness>
|
<Thickness x:Key="TextControlPadding">10,5,6,6</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
||||||
|
<SolidColorBrush x:Key="ComboBoxBorderBrush" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="ComboBoxBorderBrushPointerOver" Color="Transparent" />
|
||||||
</SettingsExpander.Resources>
|
</SettingsExpander.Resources>
|
||||||
<SettingsExpander.Action>
|
<SettingsExpander.Action>
|
||||||
<ItemEntryActionView />
|
<ItemEntryActionView />
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
<Thickness x:Key="TextControlPadding">10,5,6,6</Thickness>
|
<Thickness x:Key="TextControlPadding">10,5,6,6</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrush" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrushPointerOver" Color="Transparent" />
|
||||||
</SettingsExpander.Resources>
|
</SettingsExpander.Resources>
|
||||||
<SettingsExpander.Action>
|
<SettingsExpander.Action>
|
||||||
<ItemEntryActionView />
|
<ItemEntryActionView />
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<x:Double x:Key="TextBoxMinWidth">264</x:Double>
|
<x:Double x:Key="TextBoxMinWidth">264</x:Double>
|
||||||
<Thickness x:Key="ButtonMargin">0,0,6,6</Thickness>
|
<Thickness x:Key="ButtonMargin">0,0,6,6</Thickness>
|
||||||
<CornerRadius x:Key="ButtonCornerRadius">18</CornerRadius>
|
<CornerRadius x:Key="ButtonCornerRadius">18</CornerRadius>
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrush" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrushPointerOver" Color="Transparent" />
|
||||||
</UserControl.Resources>
|
</UserControl.Resources>
|
||||||
<StackPanel Grid.Column="1" Spacing="12">
|
<StackPanel Grid.Column="1" Spacing="12">
|
||||||
<Grid HorizontalAlignment="Center">
|
<Grid HorizontalAlignment="Center">
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
<Thickness x:Key="TextControlPadding">10,5,6,6</Thickness>
|
<Thickness x:Key="TextControlPadding">10,5,6,6</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrush" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrushPointerOver" Color="Transparent" />
|
||||||
</SettingsExpander.Resources>
|
</SettingsExpander.Resources>
|
||||||
<SettingsExpander.Action>
|
<SettingsExpander.Action>
|
||||||
<ItemEntryActionView />
|
<ItemEntryActionView />
|
||||||
|
|||||||
@@ -7,15 +7,18 @@
|
|||||||
Header="{Binding Key}"
|
Header="{Binding Key}"
|
||||||
IsExpanded="True"
|
IsExpanded="True"
|
||||||
IsToggleable="True">
|
IsToggleable="True">
|
||||||
<TextBox Text="{Binding Value}" TextWrapping="Wrap">
|
<TextBox
|
||||||
|
Text="{Binding Value}"
|
||||||
|
TextWrapping="Wrap"
|
||||||
|
Watermark="Add a note">
|
||||||
<TextBox.Styles>
|
<TextBox.Styles>
|
||||||
<Style Selector="TextBox.Write">
|
<Style Selector="TextBox.Write">
|
||||||
<Setter Property="Height" Value="216" />
|
<Setter Property="MaxHeight" Value="216" />
|
||||||
<Setter Property="AcceptsTab" Value="True" />
|
<Setter Property="AcceptsTab" Value="True" />
|
||||||
<Setter Property="AcceptsReturn" Value="True" />
|
<Setter Property="AcceptsReturn" Value="True" />
|
||||||
|
<Setter Property="BorderBrush" Value="Transparent" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="TextBox.Read">
|
<Style Selector="TextBox.Read">
|
||||||
<Setter Property="Height" Value="216" />
|
|
||||||
<Setter Property="IsReadOnly" Value="True" />
|
<Setter Property="IsReadOnly" Value="True" />
|
||||||
<Setter Property="BorderBrush" Value="Transparent" />
|
<Setter Property="BorderBrush" Value="Transparent" />
|
||||||
<Setter Property="Background" Value="Transparent" />
|
<Setter Property="Background" Value="Transparent" />
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
||||||
<BooleanToPasswordCharConverter x:Key="BooleanToPasswordCharConverter" PasswordChar="●" />
|
<BooleanToPasswordCharConverter x:Key="BooleanToPasswordCharConverter" PasswordChar="●" />
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrush" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrushPointerOver" Color="Transparent" />
|
||||||
</SettingsExpander.Resources>
|
</SettingsExpander.Resources>
|
||||||
<SettingsExpander.Action>
|
<SettingsExpander.Action>
|
||||||
<ItemEntryActionView />
|
<ItemEntryActionView />
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
<Thickness x:Key="TextControlPadding">10,5,6,6</Thickness>
|
<Thickness x:Key="TextControlPadding">10,5,6,6</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
<Thickness x:Key="TextControlCompactPadding">0</Thickness>
|
||||||
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
<Thickness x:Key="TextControlCompactMargin">0,-3,0,0</Thickness>
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrush" Color="Transparent" />
|
||||||
|
<SolidColorBrush x:Key="TextControlBorderBrushPointerOver" Color="Transparent" />
|
||||||
</SettingsExpander.Resources>
|
</SettingsExpander.Resources>
|
||||||
<SettingsExpander.Action>
|
<SettingsExpander.Action>
|
||||||
<ItemEntryActionView />
|
<ItemEntryActionView />
|
||||||
|
|||||||
Reference in New Issue
Block a user