Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Difegue
Copy link
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
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.

1 participant