Skip to content

Add IsCloseButtonEnabled to MessageBox and make button border padding configurable#1381

Merged
pomianowski merged 1 commit intolepoco:mainfrom
reincubate:messagebox-enhancements
May 24, 2025
Merged

Add IsCloseButtonEnabled to MessageBox and make button border padding configurable#1381
pomianowski merged 1 commit intolepoco:mainfrom
reincubate:messagebox-enhancements

Conversation

@Difegue
Copy link
Copy Markdown
Contributor

@Difegue Difegue commented Mar 20, 2025

Pull request type

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?

Every instance of ui:MessageBox comes with a Close button that can't be removed.

Issue Number: N/A

What is the new behavior?

  • Padding of the MessageBox can be configured instead of the hardcoded 12
  • Close Button can be hidden in case you only need the Primary/Secondary Buttons

Other information

@Difegue Difegue requested a review from pomianowski as a code owner March 20, 2025 10:18
@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 dotnet release labels Mar 20, 2025
@pomianowski pomianowski merged commit 9def2bf into lepoco:main May 24, 2025
2 checks passed
@Difegue Difegue deleted the messagebox-enhancements branch February 16, 2026 15:45
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. dotnet PR Pull request release styles Topic is related to styles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants