Print Page | Close Window

[SOLVED]DPI-Awareness of the tree control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=23201
Printed Date: 05 May 2024 at 8:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED]DPI-Awareness of the tree control
Posted By: Alex H.
Subject: [SOLVED]DPI-Awareness of the tree control
Date Posted: 14 November 2016 at 8:26am
Hi Codejock-Team and community members!

We use XTP 17.3 and have problems with the tree control.

When changing Monitor dpi-value to 150%:
The icons are ok, because we only have 16*16 size icons but the text is cut.


As you can see these german words are not displayed in full:
Belege
Projekte
Sonstige

I think there is something missing when calculating the size of the text.

Can you send us a patch for that?

:-)





Replies:
Posted By: agontarenko
Date Posted: 16 November 2016 at 5:45am
Hello Alex,

Do you have same problem with v17.2?
Please, provide steps for reproduce it with our samples.

Regards,
 Artem Gontarenko


Posted By: Alex H.
Date Posted: 17 November 2016 at 4:33am


XTP 17.2 ssems to center icon and text which is also better



Posted By: Alex H.
Date Posted: 17 November 2016 at 4:49am
Problem solved!

Sorry it was our fault:   We had an explicit SetItemHeigh for that tree.

Thank you Artem!



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