Re: Decreasing seams in scaled windows

Mitchell <[email protected]> Fri, 29 May 2026 12:04:20 -0400
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
Hi Neil,

> On May 28, 2026, at 7:28=E2=80=AFAM, Neil Hodgson <scintilladotorg@gmail.=
com> wrote:
>=20
> Attached is a patch that adds a ScintillaEditBase::SetScaled(bool
> scaled) API that allows turning scaled mode on.
>=20
> This change was difficult to make work so is probably fragile, not
> minimal and may add new problems.
>=20
> For Haven, I've been testing with placing the control in the "Wrap"
> toggle menu item.
>=20
> void MainWindow::on_actionWrap_triggered() {
>    Call(SCI_SETWRAPMODE, Call(SCI_GETWRAPMODE) ? SC_WRAP_NONE : SC_WRAP_W=
ORD);
>    ui->blok->SetScaled(!ui->blok->Scaled());
> }

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

```
auto view =3D new ScintillaEditBase;
view->SetScaled(false);
```

I reversed the patch, rebuilt, and I=E2=80=99m not seeing any more scaled b=
ehavior, so the patch is doing something, just not the expected thing.

Cheers,
Mitchell

--=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/DD532E7F-5ECA-41E8-BDCF-5F2EEEFC7596%40foicica.com.