mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-09-28 07:11:25 +12:00
re-add border around all combobox items
This commit is contained in:
parent
4acb3058ab
commit
82815a4bea
1 changed files with 6 additions and 6 deletions
|
@ -16,13 +16,14 @@
|
|||
AllowsTransparency="True"
|
||||
Placement="Bottom"
|
||||
Grid.ColumnSpan="2"
|
||||
PopupAnimation="{DynamicResource SystemParameters.ComboBoxPopupAnimationKey}"
|
||||
PopupAnimation="Slide"
|
||||
IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}">
|
||||
<Border
|
||||
Name="DropDownBorder"
|
||||
BorderBrush="{DynamicResource ComboBoxOutline}"
|
||||
Background="{DynamicResource ComboBoxBackground}"
|
||||
BorderThickness="0">
|
||||
BorderThickness="1"
|
||||
MinWidth="{Binding ActualWidth, ElementName=templateRoot}">
|
||||
<ScrollViewer Name="DropDownScrollViewer">
|
||||
<Grid Name="grid" RenderOptions.ClearTypeHint="Enabled">
|
||||
<Canvas
|
||||
|
@ -34,14 +35,13 @@
|
|||
<Rectangle
|
||||
Name="OpaqueRect"
|
||||
Fill="{Binding Background, ElementName=DropDownBorder}"
|
||||
Height="{Binding ActualHeight, ElementName=DropDownBorder}"
|
||||
Width="{Binding ActualWidth, ElementName=DropDownBorder}" />
|
||||
MinHeight="{Binding ActualHeight, ElementName=DropDownBorder}"
|
||||
MinWidth="{Binding ActualWidth, ElementName=DropDownBorder}" />
|
||||
</Canvas>
|
||||
<ItemsPresenter
|
||||
Name="ItemsPresenter"
|
||||
KeyboardNavigation.DirectionalNavigation="Contained"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
||||
Width="{Binding ActualWidth, ElementName=templateRoot}"/>
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
|
|
Loading…
Reference in a new issue