diff options
Diffstat (limited to 'lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h')
-rw-r--r-- | lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h index a1d9bf8f..5a9ea2be 100644 --- a/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h +++ b/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.h @@ -23,6 +23,10 @@ public: NotePadPlugin(QWidget* parent, QString ID); ~NotePadPlugin(); + virtual QSize defaultPluginSize(){ + // The returned QSize is in grid points (typically 100 or 200 pixels square) + return QSize(3,3); + } private: QPlainTextEdit *edit; QToolButton *open, *add, *rem; |