Re: SciTE 5.6.2 released
"'Neil Hodgson' via scite-interest" <[email protected]> Fri, 1 May 2026 21:34:06 +1000
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
jenny.venus: > Now most screens support HiDPI. I=E2=80=99ve noticed that the edit status= area scales correctly and fills the entire line height when text is zoomed= , but my custom XPM display area does not. Its size is fixed, so the XPM im= age cannot stretch to fill the full line height after font scaling. SciTE offers the scale command to resize dimensions based on screen scaling= . For example, this setting automatically applies the scaling factor to the= starting width: position.width=3D$(scale 576) > I=E2=80=99ve been using Scintilla since the days of MFC and VC6.0. Back t= hen, everything was configured with hardcoded settings, and I never learned= the modern configuration file approach. I would like to ask how to make th= e XPM image fully occupy the entire line height and scale dynamically with = the line height. Scintilla will not automatically resize images as that often looks poor. Yo= u should draw versions of your icons in different sizes then set the most a= ppropriate images based on the scaling factor and line height. For very sim= ple geometric figures, you can use code to draw that figure into a bitmap t= hen send that to Scintilla. Neil --=20 You received this message because you are subscribed to the Google Groups "= scite-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/scite-inter= est/89029A35-DC90-4BC0-8082-C47AC7F9892E%40me.com.