Print Page | Close Window

Text alignment of CXTPReportRecordItemButton

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=23349
Printed Date: 19 April 2024 at 8:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Text alignment of CXTPReportRecordItemButton
Posted By: Fredrik
Subject: Text alignment of CXTPReportRecordItemButton
Date Posted: 31 May 2017 at 8:12am
Hi, 

How can one center align text in a CXTPReportRecordItemButton if you have aligned the button itself to the right?

Right now, if you set alignment to xtpItemControlRight both the button and the text will be right aligned. If you don't call SetAlignment, the button will appear to the left but the text centered.... 





-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



Replies:
Posted By: Fredrik
Date Posted: 12 June 2017 at 4:31am
Just tried it on v18. Seems to be impossible to have a left-aligned or centered text on a CXTPReportRecordItemButton if you want the button on the right hand side... ?

-------------
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0



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