QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

Setting to adjust line height and padding in the editor window

Open Beurt opened this issue 4 years ago • 6 comments

Hi,

Here is a little suggestion, for a better UX!

Expected behaviour

A nicely readable editor :-) with custom line heights in order to adjust readability. Same thing for the paragraphs' padding.

Actual behaviour

The line height and the padding of the editor window are fixed, and cannot be changed.

Beurt avatar Jan 29 '21 09:01 Beurt

Thank you for your suggestion.

pbek avatar Jan 29 '21 09:01 pbek

Same thing for the paragraphs' padding.

if you are talking about the width of the editor area (padding), you can already customize that... "Window / Editor Width" plus a setting in the Editor settings

pbek avatar Feb 02 '21 16:02 pbek

As for the line height... All tricks to set the line heights for a QTextEdit seems to be ignored by QPlainTextEdit (that we are using). So currently we are a bit out of luck here...

pbek avatar Feb 02 '21 17:02 pbek

Changing the line height is a bit tricky since we have varying line heights, different height for Heading / code and so on. It can be done, yeah, but its a bit of work :)

Waqar144 avatar Feb 04 '21 21:02 Waqar144

I would also love this feature. I found the script to add custom CSS to the preview window which is great. It would be awesome if we could use custom CSS for the editor window as well!

timunrau avatar May 13 '21 02:05 timunrau

I beg to differ with the Importance: Low tag applied to this issue. Dubious typography is the main thing keeping me from switching from Zim to QOwnNotes. Lines are too close together, it is not comfortable to read or pretty.

nandoflorestan avatar Sep 05 '23 18:09 nandoflorestan