The two pixels in TextOffset is a magic number and not PPI scaled #92
pyscripter
started this conversation in
General
Replies: 1 comment
|
IntroducedTextMargin property (not published) PPI scaled. Could consider publishing it. It gives the distance in pixels between the Gutter and the editor text. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
SynEdit leaves two pixels between the Gutter and the text unused and painted by the editor background. It is used in the calculation of fTextOffset and other places.
The number of 2 is hardcoded (magic number) and not PPI scaled.
Make it a field and PPI scale it.
All reactions