Print Page | Close Window

[solved] Alignment of skinned radio buttons

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=23114
Printed Date: 28 September 2024 at 11:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [solved] Alignment of skinned radio buttons
Posted By: MacW
Subject: [solved] Alignment of skinned radio buttons
Date Posted: 02 September 2016 at 10:06am
It seems that on monitors with more than 96 DPI (144 in this case) the text alignment for radio buttons and check boxes in skinned dialog boxes is off.

Vertical alignment is offet by few pixels, not enough space between the radio button / check box icon and the text. Tested with the most recent version to XTP.






Replies:
Posted By: olebed
Date Posted: 03 September 2016 at 12:50pm
Hello MacW,

I'm glad to inform you that the issue has already been fixed as part of  http://forum.codejock.com/forum_posts.asp?TID=23008&PID=74738&title=v1720-bug-in-skinned-tabs-and-edit#74738" rel="nofollow - gripper in skinned StatusBar . 

Delete in method CXTPSkinManagerSchema::DrawThemeBackground()  all XTP_DPI and XTP_DPI_Y. Then change
       CSize szDest(sz);
to
       CSize szDest(XTP_DPI(sz));

Regards,
 Oleksandr Lebed


Posted By: MacW
Date Posted: 05 September 2016 at 12:21pm
Hello Oleksander,

I can confirm that this fix solves the problem. No XTP_DPI_Y in that method, but I removed all
XTP_DPI calls and changed the CSize... initialization with success.

Thanks!


Posted By: olebed
Date Posted: 05 September 2016 at 12:29pm
Originally posted by MacW MacW wrote:

I can confirm that this fix solves the problem.

Glad to hear! Smile

Originally posted by MacW MacW wrote:

No XTP_DPI_Y in that method,...
 

Maybe it was our interim fix.



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