Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » RibbonBar Example Collapse All
Subject Author Date
himanshu joshi Jan 15, 2007 - 4:17 AM


In the ribbonbar example under the View Tab there are 6 check box buttons each with text associated with it.
Could you tell how to align the text associated with each check box one below the other
Currently it is not aligned e.g. Ruler,Gridline,Properties and Document Map,Thumbnail,Document Action bar

Thanks in Advance

Technical Support Jan 15, 2007 - 1:24 PM

It could be very useful to take a look at a screenshot demonstrating how should check boxes be layouted one below other. You can capture screen with the RibbonBar sample application running on it and edit the bitmap in the MSPAINT.

himanshu joshi Jan 15, 2007 - 9:55 PM


Is there any way to programmatically arrange the things in line as i want to use those in my application where i have certain check boxes with the text attached to them.

Another thing in regards to alignment is when i put 8 buttons (CExtRibbonNodes) in a group i see a combination of 3,3and 2 buttons placed
in 3 columns. last 2 buttons are not alligned they come in between How we could arrange them.


Technical Support Jan 19, 2007 - 3:18 AM

The ribbon group node has the __ECTN_RGA_VERTICAL style applied by default. If your remove this style by invoking the CExtCustomizeCmdTreeNode::ModifyFlags() method, the last two buttons in the ribbon group will get top aligned.