Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
Minimum Size of a Tool in a RibbonGroup
posted

I have three StateButtonTools inside of one RibbonGroup in an UltraToolbarsManager Ribbon.  The stateButtons are setup to display both Image and Text.

When the caption of a StateButton has no spaces, (e.g.: "CaptionName"), the StateButton width automatically adjusts horizontally so all of the caption is displayed on one line.  The RibbonGroup also resizes itself nicely so it contains all of the other StateButtons on one line, and it appears that you can make the caption quite large if you like (e.g.: "AVeryLargeCaptionName".

When the caption of a StateButton includes a space, (e.g.: "Caption Name"), the stateButton always chops the caption at the first space in the and displays two lines of text below the icon of the StateButton.  This also shrinks the size of the ButtonTool in the RibbonGroup.

In this scenario, Is there any way to prevent the StateButton from taking two lines for the caption?  I would prefer to have the full "caption name" (including the space) on a single line below the button tool.

The SharedProperties of the StateButtonTool includes MinWidth and Width, but they appear to be read-only properties.

I am using NetAdvantage 2009 V2

Kind regards,
Steve

Parents Reply Children
No Data