Print Page | Close Window

BUG: Custom button is not sized properly

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=18671
Printed Date: 29 September 2024 at 1:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG: Custom button is not sized properly
Posted By: mgampi
Subject: BUG: Custom button is not sized properly
Date Posted: 15 July 2011 at 7:19am
Hi;

I'm using a custom button inside a CXTPReportRecordItemText.
When no horizontal lines are shown in the report control the buttons are correctly drawn.
But when lines are visible, then the button is cut of at the bottom of the row (one px of height is missing)!
See picture below.


Using pButton->SetSize(CSize(x, x)); does not help here. I tried different sizes but the button is always drawn with the current row height in square.



-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: mgampi
Date Posted: 12 August 2011 at 4:19am
Will this be fixed in 15.1.3?

-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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