If I set the text the message box will split apart the test and not size the message box accordingly. The same thing happens if I set a large font for the buttons and use the YesNoCancel. The Yes and CANCEL buttons will actually get chopped to fit in the message box. How do I make it so the Message Box resizes automatically?
Hello,
Thank you for your feedback. Please let me know when you had the chance to take a look at the sample. We believe that the other community members would benefit from this thread when we find a proper solution.
I have not had a chance to review as I am on other projects right now.
Thanks for looking into this.
I am just checking about the progress of this issue. Please let me know If you need my further assistance on this.
A possible approach to achieve this might be by using a 'CreationFilter'.
You could read about it at the following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Win_Creation_Filter.html.Here are some topics from our community which could also help you: http://community.infragistics.com/forums/t/34485.aspx, http://forums.infragistics.com/forums/t/47561.aspx http://community.infragistics.com/forums/t/58186.aspx, http://community.infragistics.com/forums/t/9989.aspx and http://community.infragistics.com/forums/t/50234.aspx.The above approach is not so recommended, because it features element's resizing, creating or removing and could lead to some unexpected behaviors.
Could you please review the sample attached to this post and see if it meets your requirements.Please do not hesitate to ask if something comes up.
Try using a font size of 40 and you should see what I am seeing. I was using that size to make the buttons larger as to allow for a touch screen.
I have uploaded a zip file that contains a pdf with the image.