Hi
When I change the window title of the form, which contains a ribbon, during runtime, the text gets truncated. When I set the text during design time it is displayed completely. I change the text during the localization of my form. Is this a known issue or is there a way to work around this? I've tried both, setting the forms text property and the ribbon caption property. I've also tried the captions TextTrimming property without any success. (Please click the image to see the window title)
Text set during design time:
Text changed during run time:
Hello,I am not sure why is not working caption property of the ribbon, but when I tried:this.Text += " Text";and after I recompile the project I got this working:this.ultraToolbarsManager1.Ribbon.Caption += " Text";Can you try to using caption property and if still doesn’t work, then if may be a issue with you particular version. Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Hello
I seem to have found a workaround and the reason. When the new caption has no whitespace in it, it gets truncated. When it has a whitespace it works:
This works: this.ultraToolbarsManager1.Ribbon.Caption += "New Caption";This works: this.ultraToolbarsManager1.Ribbon.Caption += "NewCaption ";This works not: this.ultraToolbarsManager1.Ribbon.Caption += "NewCaption";
I think it is a bug, but I work around by adding an invisible blank space at the end of the real caption.
Kind regards,Sven