Skip to content

Commit

Permalink
fix for overlapping of NumberBox text and inline spin buttons when wi…
Browse files Browse the repository at this point in the history
…dth is unrestricted
  • Loading branch information
eugenegff committed Sep 27, 2021
1 parent 2b52de9 commit c22a6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/NumberBox/NumberBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
</VisualState>
<VisualState x:Name="SpinButtonsVisible">
<VisualState.Setters>
<Setter Target="DeleteButton.Margin" Value="0,0,72,0" />
<Setter Target="SpinButtonsColumn.Width" Value="72" />
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
Expand All @@ -500,7 +500,7 @@
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition x:Name="SpinButtonsColumn" Width="Auto" />
</Grid.ColumnDefinitions>

<ContentPresenter x:Name="HeaderContentPresenter"
Expand Down

0 comments on commit c22a6b1

Please sign in to comment.