Search found 146 matches: HIDPI

Searched query: hidpi

Go to advanced search

by davidhbrown
Sun Sep 20, 2020 5:27 am
Forum: UX/UI Design
Topic: Custom cursors and high dpi (Windows and MacOS testers needed)
Replies: 162
Views: 9565

Re: Custom cursors and high dpi (Windows and MacOS testers needed)

... are working on the Sketcher cursors that started giving me trouble a month or two ago (in the 0.19 releases). I am experiencing an issue with a HiDPI screen in Windows 10 (Version 2004, OS Build 19041.487) and the Sketcher cursor crosshairs being misaligned from their hot spot. The hotspot is ...
by vanuan
Wed Sep 16, 2020 9:35 pm
Forum: Developers corner
Topic: Hidpi, font&icon scaling, etc....
Replies: 14
Views: 631

Re: Hidpi, font&icon scaling, etc....

... size - it is not pixels) According to your screenshots, you set it to 25px. 17px is a default value. 25px is 18.75pt. But since you probably have HiDPI scaling enabled, that is factored by some constant (from 100% to 400%). Coin font size is in pixels for 2D text (a SoText2 node). After my edits ...
by Elyas
Wed Sep 16, 2020 8:38 pm
Forum: Developers corner
Topic: Hidpi, font&icon scaling, etc....
Replies: 14
Views: 631

Re: Hidpi, font&icon scaling, etc....

Before your change the default font size for EditSketcherFontSize was 17 pixels. After your change the default font size is 12 pixels multiplied by the dpi scale factor. So, before it was 17 hardware pixels, after it is 12 device independent pixels. The bug is: If in Prefereces editSktcherFontSize ...
by vanuan
Wed Sep 16, 2020 7:27 pm
Forum: Developers corner
Topic: Hidpi, font&icon scaling, etc....
Replies: 14
Views: 631

Re: Hidpi, font&icon scaling, etc....

... the FreeCAD settings 2. Ignores the scale factor specified in the OS display settings 3. Uses the font size in pixels So, it doesn't work well for HiDPI support. When switching from one display to another, user would have to adjust the Cube size to be able to read the text comfortably. HiDPI support ...
by Elyas
Wed Sep 16, 2020 5:35 pm
Forum: Developers corner
Topic: Hidpi, font&icon scaling, etc....
Replies: 14
Views: 631

Re: Hidpi, font&icon scaling, etc....

2. That's not good. Would rather scale the navi box to fit the current text size, like you did for settings Who and how will determine the font size to which NaviCube should be adjusted? now: m_CubeWidgetSize = (hGrp->GetInt("CubeSize", 132)); I think it's right to let the user set the size of the ...
by vanuan
Wed Sep 16, 2020 3:40 pm
Forum: Developers corner
Topic: Hidpi, font&icon scaling, etc....
Replies: 14
Views: 631

Re: Hidpi, font&icon scaling, etc....

... still be readable? If it's not readable at smaller scale factor, then even users with low DPI should've seen the huge font size. Please read the HiDPI master plan: https://wiki.freecadweb.org/HiDPI_support It's the UI that should be relative to the font size, not font sizes scaled to fix different ...
by Elyas
Wed Sep 16, 2020 12:04 pm
Forum: Developers corner
Topic: Hidpi, font&icon scaling, etc....
Replies: 14
Views: 631

Re: Hidpi, font&icon scaling, etc....

Kunda1 wrote:
Wed Sep 16, 2020 11:59 am
If I make a Draft PR would that be OK ? I just want the credit to go to you.
You can use everything published here without restrictions
by Kunda1
Wed Sep 16, 2020 11:59 am
Forum: Developers corner
Topic: Hidpi, font&icon scaling, etc....
Replies: 14
Views: 631

Re: Hidpi, font&icon scaling, etc....

Elyas wrote:
Wed Sep 16, 2020 11:53 am
Kunda1 wrote:
Wed Sep 16, 2020 11:38 am
Can you make a PR so it would be easy to pull all changes in and compile ?
No soon, unfortunately

The edits are minor. It doesn't take long to make by hand.
If I make a Draft PR would that be OK ? I just want the credit to go to you.
by Elyas
Wed Sep 16, 2020 11:53 am
Forum: Developers corner
Topic: Hidpi, font&icon scaling, etc....
Replies: 14
Views: 631

Re: Hidpi, font&icon scaling, etc....

Kunda1 wrote:
Wed Sep 16, 2020 11:38 am
Can you make a PR so it would be easy to pull all changes in and compile ?
No soon, unfortunately

The edits are minor. It doesn't take long to make by hand.
by Kunda1
Wed Sep 16, 2020 11:50 am
Forum: Developers corner
Topic: Hidpi, font&icon scaling, etc....
Replies: 14
Views: 631

Re: Hidpi, font&icon scaling, etc....

vanuan wrote: pinged by pinger macro
CC @vanuan

Go to advanced search