I set the width and maxwidth on the LabelTool, but when I assign a text value to the label that is larger than the maxwidth, the label and its containing ribbon group both expand to show all of the text. What I would like to happen is have the ribbon group stay the same size and just have the label word wrap and display as multiline. I can't seem to find a maxwidth on the ribbon group itself or I would set that as well.
Craig,
Which ribbon control on which platform are you using?
I'm using Infragistics.Win.UltraWinToolbars.RibbonGroup in NetAdvantage 11.1 Win CLR2x.
Okay. I will try that out and get back to you. Thank you.
So, what is the point of the MaxWidth property if the maximum width is dependent on the MinWidth?
Hello Craig,
Thank you for your feedback.
MaxWidth property of the tools is only honored when the tool is on a toolbar, it is not honored when the tool is on the ribbon. Please note one more workaround, in order to wrap the text, is to add new line in the string.
Please let me know if you need any further assistance whit this.
I will, thank you. I still haven't had a chance to try your suggestions yet because a higher priority task came up, but I will let you know what works. Thank you.
We are still following this forum thread.
Please let us know if you need our further assistance.
Okay, well it seems that task is being pushed off for the time being so would it be best to just close this thread and I can open up a new one when I get to work on that task again and get a chance to try out the suggested solution?