Skip to content

Commit f740ebd

Browse files
committed
make into a more typical control interface, expose content template, selector, orientation etc
1 parent 20658f9 commit f740ebd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.RatingBar.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@
7373
<Setter.Value>
7474
<ControlTemplate TargetType="{x:Type wpf:RatingBar}">
7575
<ItemsControl ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=RatingButtons}"
76+
VerticalAlignment="Top"
77+
HorizontalAlignment="Left"
7678
Margin="{TemplateBinding Padding}">
7779
<ItemsControl.ItemsPanel>
7880
<ItemsPanelTemplate>

0 commit comments

Comments
 (0)