Skip to content

How to modify the width or height of TableItem in pixels #1539

Answered by sravanlakkimsetti
pcdlrzxx asked this question in Q&A
Discussion options

You must be logged in to vote

@pcdlrzxx

So in my understanding, because of the not good HiDpi support of Windows natively, problems are inevitable at some scaling factors on Windows. And we can only hope for improvements in Windows' HiDpi support, right?

Yes you right. We went with 25% increments initially and it created lots of problems with the sizes. Converting pixels to points using integer arithmetic is bound cause trouble. Thats why we had to completely remove 25% increments and then supported integer scale factors only.

By the way Mac uses floating point arithmetic and Linux supports only integer scaling factors.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@sravanlakkimsetti
Comment options

@sravanlakkimsetti
Comment options

@pcdlrzxx
Comment options

@sravanlakkimsetti
Comment options

Answer selected by pcdlrzxx
@pcdlrzxx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1538 on October 15, 2024 05:02.