change the LineHeight

SyntaxEditor for Windows Forms Forum

Posted 13 years ago by Dan Oren - Software Developer, Watchfire
Avatar
Hey,

When I reduce the font size of the SyntaxEditor :
Font font = new Font(syntaxEditorControl.Font.FontFamily, syntaxEditorControl.Font.Size - 1);
syntaxEditorControl.Font = font;
The distance between the lines remains in the same size.
I want to reduce the also the distance between the lines since it is not proportion to the font.
I saw that there is a property SyntaxEditor.LineHeight but this is read only.
Any help with this issue ?

10'X
Dan

Dan Oren

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Check out the SyntaxEditor.MinimumDisplayLineHeight property. Lower that and it will fix this for you.


Actipro Software Support

The latest build of this product (v2018.1 build 0342) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.