diff options
author | Ken Moore <moorekou@gmail.com> | 2015-07-09 16:42:49 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-07-09 16:42:49 -0400 |
commit | b6e2f46f79324b019caf1e4b504454591b591acf (patch) | |
tree | 3a40852c3d956f71e6f4e52118bbce1c429157e7 /lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h | |
parent | Remove the old "forcing" of a panel with particular settings on the default/f... (diff) | |
download | lumina-b6e2f46f79324b019caf1e4b504454591b591acf.tar.gz lumina-b6e2f46f79324b019caf1e4b504454591b591acf.tar.bz2 lumina-b6e2f46f79324b019caf1e4b504454591b591acf.zip |
Finish cleaning up the arrangement/placement of desktop plugins with the new system. Also add a default size for the calendar plugin.
Diffstat (limited to 'lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h')
-rw-r--r-- | lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h b/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h index e861052e..796bc42d 100644 --- a/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h +++ b/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h @@ -21,6 +21,7 @@ public: this->layout()->setContentsMargins(0,0,0,0); cal = new QCalendarWidget(this); this->layout()->addWidget(cal); + this->setInitialSize( cal->sizeHint().width(), cal->sizeHint().height() ); } ~CalendarPlugin(){} |