Browse Source

Update ListBox.xaml

pull/3513/head
Symbai 6 years ago
committed by GitHub
parent
commit
7c06fc3d3d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/Avalonia.Themes.Default/ListBox.xaml

5
src/Avalonia.Themes.Default/ListBox.xaml

@ -7,7 +7,7 @@
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
<Setter Property="Template">
<ControlTemplate>
<Border BorderBrush="{TemplateBinding BorderBrush}"
<Border Name="border" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<ScrollViewer Name="PART_ScrollViewer"
Background="{TemplateBinding Background}"
@ -23,4 +23,7 @@
</Border>
</ControlTemplate>
</Setter>
<Style Selector="ComboBox:disabled /template/ Border#border">
<Setter Property="Opacity" Value="{DynamicResource ThemeDisabledOpacity}" />
</Style>
</Style>

Loading…
Cancel
Save