![]() |
force control layout in a ribbon |
Post Reply ![]() |
Author | |
Osiris ![]() Groupie ![]() Joined: 18 June 2007 Status: Offline Points: 29 |
![]() ![]() ![]() ![]() ![]() Posted: 21 August 2008 at 7:54am |
Hi again,
I've got a ribbon tab with a group in it (with ControlsGrouping flag set), that contains 2 edit controls and 2 buttons. If there is enough space for the group the controls are always arranged in two rows like shown here: ![]() Only if the ribbons space is resized and the space for the group is shrinked, the groups controls are rearranged in 3 rows like this: ![]() My question: is there a possibility of forcing the group to arrange the controls always as shown in the second picture? Thanks in advance Stefan |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
If you have last version you can add pControl->SetFlags(xtpFlagWrapRow); for controls need to wrap. (logon and edit controls)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |