Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Line numbers obscures viewport
-
I make line numbers for my application using QTExtEditor based on QPlainTextEditor sample.
Line numbers obscures viewport.
I am trying type: setParent(editor) and tried setParent(editor->viewport) but this not helps.
("obscures" - if I correct translate "zasłaniać", "przysłaniać" from Polish - left margin of text is non visible)
-
@AndrzejB
and now its up to us for guessing what you could have possibly done wrong?