Skip to content

Fix Numberbox button placement - #1758

Open
ioswald wants to merge 1 commit into
lepoco:mainfrom
ioswald:IanO.NumberBoxButtonPlacement
Open

Fix Numberbox button placement#1758
ioswald wants to merge 1 commit into
lepoco:mainfrom
ioswald:IanO.NumberBoxButtonPlacement

Conversation

@ioswald

@ioswald ioswald commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

If a user sets the vertical padding to 0 on a NumberBox control, the increment, decrement, clear buttons are no longer centered in the container.

Pull request type

NumberBox

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

If a user sets the vertical padding to 0 on a NumberBox control, the increment, decrement, clear buttons are no longer centered in the container.

Issue Number: N/A

What is the new behavior?

Center the buttons in the container regardless of user defined padding value

Other information

Before:
NumberBoxCurrentInlineBehavior
NumberBoxCurrentCompactBehavior

After:
NumberBoxUpdatedInlineBehavior
NumberBoxUpdatedCompactBehavior

@ioswald
ioswald requested a review from pomianowski as a code owner August 20, 2026 16:12
@github-actions github-actions Bot added controls Changes to the appearance or logic of custom controls. styles Topic is related to styles PR Pull request release labels Aug 20, 2026
@ioswald ioswald changed the title Numberbox button placement not centered when control padding set to 0. Fix Numberbox button placement Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controls Changes to the appearance or logic of custom controls. PR Pull request release styles Topic is related to styles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant