Skip to content

Commit

Permalink
Fix Avalonia style selectors for templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Apr 10, 2024
1 parent 716785f commit dfc171c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions LightBulb/App.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<Setter Property="materialAssists:SelectionControlAssist.Size" Value="18" />

<Style Selector="^:checked, ^:unchecked">
<Style Selector="^ Ellipse#PART_HoverEffect">
<Style Selector="^ /template/ Ellipse#PART_HoverEffect">
<Setter Property="Width" Value="32" />
<Setter Property="Height" Value="32" />
</Style>
Expand All @@ -36,7 +36,7 @@

<!-- Slider -->
<Style Selector="Slider">
<Style Selector="^ ProgressBar#PART_ProgressLayer">
<Style Selector="^ /template/ ProgressBar#PART_ProgressLayer">
<Style Selector="^:horizontal">
<Style Selector="^ Panel#PART_InnerPanel">
<Setter Property="Height" Value="2" />
Expand All @@ -53,7 +53,7 @@
</Style>
</Style>

<Style Selector="^ Track#PART_Track">
<Style Selector="^ /template/ Track#PART_Track">
<Style Selector="^:horizontal">
<Setter Property="Margin" Value="4,0" />
</Style>
Expand All @@ -75,11 +75,11 @@
<Setter Property="Height" Value="20" />
<Setter Property="FontSize" Value="14" />

<Style Selector="^ Panel#PART_TextFieldPanel">
<Style Selector="^ /template/ Panel#PART_TextFieldPanel">
<Setter Property="MinHeight" Value="0" />
</Style>

<Style Selector="^ Panel#PART_TextContainer">
<Style Selector="^ /template/ Panel#PART_TextContainer">
<Setter Property="Margin" Value="0" />
</Style>
</Style>
Expand Down

0 comments on commit dfc171c

Please sign in to comment.