mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-09-30 00:56:15 +13:00
Fix combo box alignment
This commit is contained in:
parent
eaba02cfc5
commit
c222316b41
1 changed files with 6 additions and 5 deletions
|
@ -22,7 +22,7 @@
|
||||||
Name="DropDownBorder"
|
Name="DropDownBorder"
|
||||||
BorderBrush="{DynamicResource ComboBoxOutline}"
|
BorderBrush="{DynamicResource ComboBoxOutline}"
|
||||||
Background="{DynamicResource ComboBoxBackground}"
|
Background="{DynamicResource ComboBoxBackground}"
|
||||||
BorderThickness="1">
|
BorderThickness="0">
|
||||||
<ScrollViewer Name="DropDownScrollViewer">
|
<ScrollViewer Name="DropDownScrollViewer">
|
||||||
<Grid Name="grid" RenderOptions.ClearTypeHint="Enabled">
|
<Grid Name="grid" RenderOptions.ClearTypeHint="Enabled">
|
||||||
<Canvas
|
<Canvas
|
||||||
|
@ -40,7 +40,8 @@
|
||||||
<ItemsPresenter
|
<ItemsPresenter
|
||||||
Name="ItemsPresenter"
|
Name="ItemsPresenter"
|
||||||
KeyboardNavigation.DirectionalNavigation="Contained"
|
KeyboardNavigation.DirectionalNavigation="Contained"
|
||||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
||||||
|
Width="{Binding ActualWidth, ElementName=templateRoot}"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</Border>
|
</Border>
|
||||||
|
@ -48,14 +49,14 @@
|
||||||
<Border
|
<Border
|
||||||
Name="Border"
|
Name="Border"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
Margin="{TemplateBinding BorderThickness}">
|
Margin="0">
|
||||||
<TextBox
|
<TextBox
|
||||||
Name="PART_EditableTextBox"
|
Name="PART_EditableTextBox"
|
||||||
Margin="{TemplateBinding Padding}"
|
Margin="2.5"
|
||||||
BorderBrush="Transparent"
|
BorderBrush="Transparent"
|
||||||
BorderThickness="0"
|
BorderThickness="0"
|
||||||
Foreground="{DynamicResource TextColor}"
|
Foreground="{DynamicResource TextColor}"
|
||||||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
HorizontalContentAlignment="Left"
|
||||||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
IsReadOnly="True"
|
IsReadOnly="True"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
|
|
Loading…
Reference in a new issue