Author Topic: Too small font size in dialog window  (Read 518 times)

kkarino

  • Community Member
  • Posts: 21
  • Hero Points: 2
Too small font size in dialog window
« on: July 27, 2018, 11:08:52 pm »
Font size of text in dialog is too small. I can not readable.
Example:
 1) About SlickEdit Dialog
 2) Option Dialog

mjdl

  • Senior Community Member
  • Posts: 139
  • Hero Points: 16
  • SE 23.0.2 hotfix 2 x64 Windows 10 v1903
Re: Too small font size in dialog window
« Reply #1 on: July 30, 2018, 03:39:38 pm »
High DPI screen support in Windows applications running on Windows 8/10 that use some other application framework than Microsoft's seems to be a real hit-or-miss proposition.

Qt, the framework that SE uses has this to say about it at http://doc.qt.io/qt-5/highdpi.html:

Quote
In the longer term, the application should be adapted to run unmodified:
    Always use the qreal versions of the QPainter drawing API.
    Size windows and dialogs in relation to the screen size.
    Replace hard-coded sizes in layouts and drawing code by values calculated from font metrics or screen size.

So maybe SE has some legacy issues in those points. There are bits of text in dialogs that are truly tiny on a UHD (4K) screen alongside correctly scaled text, and it's hard to determine what needs to be adjusted.

In the meantime, in the Fonts section of the Appearance options, increasing the font size of categories of text like "HTML Proportional" that are used in the SE UI seems to solve some problems (e.g. the text of the "About" dialog).

But scaling problems in Windows 8/10 seem never ending...

For instance, SE 22 and 23 both have really awful ergonomics with checkmarks in checkboxes, where the checkmark is not scaled correctly in relation to the size of the checkbox:


A quick Google search brought me to these Qt bug links:
https://bugreports.qt.io/browse/QTBUG-44478 (Windows 7 High DPI issue)
https://codereview.qt-project.org/#/c/164528/ (Proposed solution, abandoned)
https://codereview.qt-project.org/#/c/215633/ (A merge that apparently solved the issue, does SE use a version of Qt that includes it?))

I have zero knowledge about Qt, so don't take my instant detective work seriously...

 
« Last Edit: July 30, 2018, 04:08:36 pm by mjdl »