diff options
author | q5sys <jt@obs-sec.com> | 2017-06-14 14:29:25 -0400 |
---|---|---|
committer | q5sys <jt@obs-sec.com> | 2017-06-14 14:29:25 -0400 |
commit | 9fb40bfc3c9a5b1877fdfdf65b307c690ea860d9 (patch) | |
tree | b537499f575194ed4525bec104297ea06d3bd401 /src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h | |
parent | Merge branch 'master' of http://github.com/trueos/lumina (diff) | |
download | lumina-9fb40bfc3c9a5b1877fdfdf65b307c690ea860d9.tar.gz lumina-9fb40bfc3c9a5b1877fdfdf65b307c690ea860d9.tar.bz2 lumina-9fb40bfc3c9a5b1877fdfdf65b307c690ea860d9.zip |
fix font size bug for line sizes
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h index 64ff256b..0c83b7ce 100644 --- a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h +++ b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h @@ -37,6 +37,9 @@ public: //Functions for managing the line number widget (internal - do not need to run directly) int LNWWidth(); //replacing the LNW size hint detection void paintLNW(QPaintEvent *ev); //forwarded from the LNW paint event + void updateLNW(); + + QFontMetrics *metrics; private: QWidget *LNW; //Line Number Widget @@ -65,7 +68,7 @@ private slots: void textChanged(); void cursorMoved(); //Function for prompting the user if the file changed externally - void fileChanged(); + void fileChanged(); protected: void resizeEvent(QResizeEvent *ev); |