Maybe I'm just not looking in the right spot.... How do you add padding/margin to a tool in a toolbar? Where is the property for doing something like that?
Hi asofio,
There are several exposed properties of the ultraToolbarsManager which can be modified to achieve the effects that you have described. Those which you may be most interested in are the Padding- Bottom, Left, Right and Top as well as the ToolSpacing properties. The former can be used to adjust the actual “padding” around your tools and the margin; the latter is used to adjust the space between your individual tools, within the toolbar.
You can get at these properties from within the designer by selecting the properties for the UltraToolbarsManager in your form and then expand the “ToolbarSettings” node. These properties can also be got at programmatically, for example, ultraToolbarsManager1.ToolbarSettings.ToolSpacing = 1;
Note: these values must be in a +/- integer format.
If you have any questions, at all regarding this procedure, please let me know.
Sincerely,
Chris K
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support