Re: Decreasing seams in scaled windows

Neil Hodgson <[email protected]> Sat, 30 May 2026 11:44:00 +1000
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <CACWkrTiDQ0cFDpt6ayHgDKxsWfZQfPtZKJ=gdYLA+Q4hnmCbKQ@mail.gmail.com>
Mitchell:

> I have no idea why, but I=E2=80=99m getting scaled behavior by default on=
 macOS, even if I manually call `SetScaled(false)` (which I shouldn=E2=80=
=99t have to, because it=E2=80=99s false by default).

Yes, some of the effects are unexpected. Where above I said "difficult
to make work", part of that was that some changes made to disable
scaling were ineffective so scaling was reinstated. It's possible that
a Qt (or platform) internal scaling mode is set unexpectedly by
something like calling devicePixelRatioF.

A new issue I have noticed on Windows is that changing the system
scaling can cause the scroll bar to move a little sideways until the
window is resized. This may require a work-around like the application
resizing its widgets explicitly.

An updated Haven with a separate Scale menu item, margins that resize
on scale change event, and better dark-mode settings is available from
https://www.scintilla.org/HavenScale2.zip

Neil

--=20
You received this message because you are subscribed to the Google Groups "=
scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scintilla-i=
nterest/CACWkrTiDQ0cFDpt6ayHgDKxsWfZQfPtZKJ%3DgdYLA%2BQ4hnmCbKQ%40mail.gmai=
l.com.