Print Page | Close Window

Vertical Align to CXTPControlComboBox on the Ribbo

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=19701
Printed Date: 18 June 2025 at 9:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Vertical Align to CXTPControlComboBox on the Ribbo
Posted By: sdancer75
Subject: Vertical Align to CXTPControlComboBox on the Ribbo
Date Posted: 30 April 2012 at 8:07am
Hi,

1) Is that possible to SetStyle my CXTPControlComboBox on the Ribbon that aligns the text below the object ?

2) Is that possible to vertically align the CXTPControlComboBox with a button that is positioned on the right side ?

Regards,
George


-------------
Just me!



Replies:
Posted By: Ssytems
Date Posted: 07 May 2012 at 8:07pm
I am having the same question. Need to add a watermark/logo to the ribbon and would like to align it to the right while the rest of the controls are left aligned.
Any help would be much appreciated


Posted By: sdancer75
Date Posted: 10 May 2012 at 7:02am
With the combobox I used :

pComboHistory->SetStyle(xtpButtonIcon); 

to hide the label, and to attach the button as much as possible next to the combobox I used

pControl->SetStyle(xtpButtonIcon);
pControl->SetIconSize(CSize(32,32));
pControl->SetWidth(36);

Hope it will helps.

George



-------------
Just me!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net