Skip to content

Commit d7144cb

Browse files
authored
fix: Center align DynamicScrollBar Grid elements (#1676)
1 parent 77bb6d0 commit d7144cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Wpf.Ui/Controls/DynamicScrollBar/DynamicScrollBar.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
</Style>
107107

108108
<ControlTemplate x:Key="DynamicVerticalScrollBar" TargetType="{x:Type controls:DynamicScrollBar}">
109-
<Grid>
109+
<Grid HorizontalAlignment="Center">
110110
<Grid.RowDefinitions>
111111
<RowDefinition MaxHeight="14" />
112112
<RowDefinition Height="0.00001*" />
@@ -250,7 +250,7 @@
250250
</ControlTemplate>
251251

252252
<ControlTemplate x:Key="DynamicHorizontalScrollBar" TargetType="{x:Type controls:DynamicScrollBar}">
253-
<Grid>
253+
<Grid VerticalAlignment="Center">
254254
<Grid.ColumnDefinitions>
255255
<ColumnDefinition MaxWidth="18" />
256256
<ColumnDefinition Width="0.00001*" />

0 commit comments

Comments
 (0)