We've recently started working with ribbon controls, and have come across odd behaviour with checkbox alignment when they're added to ribbon groups (via TcxBarEditItem links).
This is illustrated in the attached project - to produce this we:
- Created a new VCL forms application.
- Added a Bar Manager then a Ribbon.
- Created a new "Group with Toolbar" for the default ribbon tab.
- Added a new checkbox to the group via the cxEditItem context submenu. This checkbox is left-aligned, and there doesn't seem to be any way of changing that including via the UseAlignmentwhenInplace option we've found mentioned in other tickets.
- Created a second "Group with Toolbar" on the default ribbon tab.
- Double-clicked the Bar Manager component to bring up its Customize dialog.
- Dragged the checkbox from that dialog's Commands tab into the second group, to create a second link to the same underlying control. The checkbox in this group is right-aligned, and again there doesn't seem to be any way of changing that.
This behaviour is consistent and reproducible for us; checkboxes created via the context menu are always left-aligned, while those subsequently connected via links created from the Customize dialog are always right-aligned. I've included a screenshot of what we get in the uploaded project, in case things appear differently for you.
Is there any way of forcing left-aligned checkboxes in all cases?
Thanks,
Ian