FLTK logo

Re: [fltk/fltk] How to change the general size of an FLTK application? (Discussion #1606)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
[  All Forums  |  Back to fltk.discussions  ]
 
[ Previous Message ] [ New Message | Reply ] [ Next Message ]

Re: [fltk/fltk] How to change the general size of an FLTK application? (Discussion #1606) erco77 18:31 Sep 10  
 

On 9/10/26 10:15, papaathome wrote:

> But the actual problem is elsewhere IMHO. ...
> True, I have a screen with a high resolution ... and my eyes are no longer what they used to be.
> My problems with reading what is on screen is not limited to FLUID. :-(
>
> QT has `QT_SCALE_FACTOR' but FLTK is not QT.
> And now I know what to do for FLTK. :-)
> Here they say `old age comes with problems'. If that is true I'm very old.
>   FLT
> Message ID: ***@***.***>
>

    Right, FLTK honors its own environment variable FLTK_SCALE_FACTOR that you set to a floating point value like 2.0 to double the size, and all
FLTK apps that support scaling (fltk 1.4.0 and up) and that variable set will inherit that setting and resize automatically, unless someone uses the
command line flag to override it. (I think the command line Fl::args() support was added later in 1.5.x)

    While it may be an old age problem, I'm thinking it's more to do with technology making screens where the pixels are so much smaller than they
used to be, old programs simply /_are_/ tiny, and really have to be scaled to look anything close to "normal" again. The advent of Apple retina
displays are the first I ran into this with customers, and thankfully Manolo was already on top of it with developing a solution.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/repo-discussions/1606/comments/18390621@github.com>

[ Direct Link to Message ]
 
     
[ Previous Message ] [ New Message | Reply ] [ Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.