Skip to content

Commit

Permalink
Fix for initially collapsed NumberBox losing spin buttons (#6053)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenegff authored Oct 7, 2021
1 parent 60cfdb6 commit 8b2d793
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/NumberBox/NumberBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ void NumberBox::OnApplyTemplate()
// .NET rounds to 12 significant digits when displaying doubles, so we will do the same.
m_displayRounder.SignificantDigits(12);

UpdateSpinButtonPlacement();
UpdateSpinButtonEnabled();

UpdateVisualStateForIsEnabledChange();
Expand Down

0 comments on commit 8b2d793

Please sign in to comment.