I have a Ribbon (UltraWinToolbar) with 3 TextBoxTools on it in a vertical arrangement a bit like:
| Short Caption: [xxxxxxxxxxxxxxxxxxxxxx] | | Very Long Caption Indeed: [xxxxxxxxxxx] | | Tiny: [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] |
But I want it to look like this:
| Short Caption: [xxxxxxxxxxx] | | Very Long Caption Indeed: [xxxxxxxxxxx] | | Tiny: [xxxxxxxxxxx] |
How can I control the width of the edit area? Using 2010.3 but can upgrade to 2011.2 if required.
Hi Sam,
I have found that this behavior only appears to be produced when TextBoxTools are displayed within the ApplicationMenu of the UltraToolbarsManager; which contains these tools within the context of a popupmenu.
There is no property extended from the UltraToolbarsManager for explicitly adjusting the position of these tools, but you should be able to manipulate their placement with the implementation of a CreationFilter.
I am currently developing one such approach and I will post my solution to this thread, when successful.
If you have any further questions at all in the meantime, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
Chris,
Thanks. I have found that setting the SharedProps.Width to -1 makes the tools line-up properly. However this does not allow us to control the width of the text input area. Setting SharedProps.MinWidth just changes the gap between the label and the text entry area.