How to get the zoom factor of the display?

Post Reply
Zinn
Posts: 476
Joined: Tue Mar 25, 2014 5:56 pm
Location: Frankfurt am Main
Contact:

How to get the zoom factor of the display?

Post by Zinn »

How to get in a BlackBox program the number of pixel on the display and which zoom factor is set?

Since Ubuntu 16.04 the status line at bottom is not display complete by using a zoom factor in the operating system.

Further I have the problem with subsystem Desktop by moving to another machine. The windows have the wrong size after restore the saved desktop, because they have set different zoom factors.

- Helmut
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: How to get the zoom factor of the display?

Post by Robert »

Zinn wrote:How to get in a BlackBox program ... which zoom factor is set?
If I understand the question:

Ports.port.unit
or
Ports.frame.unit
or
HostWindows.unit.

Also HostWindows.mainW, mainH might relate to the other part of your question.


PS - Is this question better on the other forum?
Post Reply