Skip to content

Commit

Permalink
Fixed missing style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Peyronnet committed Feb 21, 2024
1 parent 694a69b commit 25b1549
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions ColorPicker/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,35 @@
</Setter.Value>
</Setter>
</Style>
<Style x:Key="HorizontalThumb" TargetType="{x:Type Thumb}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Thumb}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="4" />
<ColumnDefinition Width="4" />
<ColumnDefinition />
<ColumnDefinition Width="4" />
<ColumnDefinition Width="4" />
</Grid.ColumnDefinitions>
<Ellipse
Grid.Column="0"
Grid.ColumnSpan="2"
Fill="{DynamicResource Gray}" />
<Rectangle
Grid.Column="1"
Grid.ColumnSpan="3"
Fill="{DynamicResource Gray}" />
<Ellipse
Grid.Column="3"
Grid.ColumnSpan="2"
Fill="{DynamicResource Gray}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="ScrollViewerStyle" TargetType="{x:Type ScrollViewer}">
<Setter Property="Template">
<Setter.Value>
Expand Down

0 comments on commit 25b1549

Please sign in to comment.