Message Box button sizes are different depending on the length of text

1
0

Is there any way to make the MessageBox buttons the same size ?

It just looks odd when you have an “ok” and a “cancel” button that are different sizes. I don’t recall winforms buttons doing that. But in any event it just does not look professional in a modern web application.

  • You must to post comments
0
0

Hi Edmond,

you can use a theme mixin to fully customize your message box:

msgbox

Sample mixin:

{
	"appearances": {
		"messagebox/buttonsPane/button": {
			"inherit": "button",
			"states": {
				"default": {
					"properties": {
						"padding": [ 5, 8, 5, 8 ],
						"width": 100
					}
				}
			}
		}
	}
}

Best regards,
Frank
Attachment
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.