Hello All,
I am using the Office2007 Ribbon look with the Ultra.WinToolbar.
I have created a tab, with groups, on one of the groups, I have 3 controls, 1 x DropBox Tool and 2 x TextBox Tools.
The problem I have is that the "caption" text and the actual tool, i.e the drop box or the text boxes do not align nicely underneath eachother, as the ribbon seems to have a fixed padding between the tool caption and the actual tool itself - what I am trying to acieve is have the "caption" size of the 3 controls to be equal no matter how long the caption text is, as this would force the actual tools to align on the left - ( the rights I can align by setting the tool to spring=true....
I tried to "pad" the captions with "spaces" to have all captions the same length but the tools disregards any spaces after the caption text.
Any advise will be appreciated.
Thank you.
This is currently not possible. I would recommend submitting a feature request for this to the support group: http://devcenter.infragistics.com/Protected/RequestFeature.aspx.
Hi Mike,
Thank you for the ultra.quick response.
Atleast now i know its not just a small setting i am overlooking, however, there must be a way to get to the internal padding between where the caption text stop and where the control starts to draw - as it seems all tools have the same standard and "space" between caption and control.
Its not a major issue, it would just look so much nicer if the tools could align nicely if they are in the same ribbon group on top of each other.
Bye, for now.
The padding between an editor tool's caption and edit area is currently a constant. Therefore the only way to accomplish what you are trying to do would be to implement a creation filter. However, I would not recommend this approach. What you are trying to do could require a very complicated creation filter which would have to make mulitple passes on the tools in a common column of a ribbon group to do measuring and repositioning of ui elements.