[squeak-dev] Please Test | Improvements around display scaling (150%, 200%, 250%, ...)

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Thu Jan 13 20:03:55 UTC 2022

Hi Jakob,

looking at CodeHolder>>#optionalButtonsFrame, I would suppose that relying on the font selectors from Preferences class might be a best practice. Independently of the scaling factor, users could also override the font style of single widget classes, so going through the actual font makes sense to me. :-)



Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Jakob Reschke <jakres+squeak at gmail.com>
Gesendet: Donnerstag, 13. Januar 2022 20:48:45
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] Please Test | Improvements around display scaling (150%, 200%, 250%, ...)

Hi Marcel,

Now that the scaling code has arrived in Trunk, which messages should
we use to write well-scaling LayoutFrames, in particular with offsets
(that were previously hardcoded to pixel values)?

Should we use
- Display relativeScaleFactor
- Display relativeUiScaleFactor
- Display uiScaleFactor
- or do it entirely in a different manner?

Kind regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220113/7369b3c1/attachment.html>

More information about the Squeak-dev mailing list