[SOLVED] MessageBox sizing

Answered Closed
0
0

Hi,

Is there any way to get messageboxes to size correctly when there is not much text but the caption is as long?  For example if you execute

MessageBox.Show(“Save your changes?”, “Data has changed” ……

The title, being in a much larger font is always truncated.

Thanks

Nic

 

 

  • You must to post comments
Best Answer
0
0

Hi Nic,

both issues WJ-7306 (material-3) and WJ-7311 (title in msg box) are fixed in build 1.2.8

Best regards
Frank

  • You must to post comments
0
0

Hi Nic,

enhancement is logged as WJ-7306.

Thanks,
Frank

  • You must to post comments
0
0

I see what you mean. It’s related to the material-3 theme with a much larger font for the title. There are two issues: one is that the message box has a maxWidth value in the theme set to 450 I believe; that is easy to change. The second is that windows’ preferred size is calculated using the content and not the tittle, which is correct but it may create a problem for message boxes with a large title and show content.

I will log an enhancement issue to take the title in consideration for the message box width. The maxWidth in the theme still needs to be increased and will still at one point truncate the title. The content wraps and grows vertically.

Best,

Luca

  • You must to post comments
Showing 3 results