aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/calendar
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-10-20 11:11:54 -0400
committerKen Moore <moorekou@gmail.com>2015-10-20 11:11:54 -0400
commitd566384a4a81497864c30c657ee5ceebb55d3987 (patch)
tree52bb7239cd77eed7a0e61bced39b9b753d2a9428 /lumina-desktop/desktop-plugins/calendar
parentMerge branch 'master' of github.com:pcbsd/lumina (diff)
downloadlumina-d566384a4a81497864c30c657ee5ceebb55d3987.tar.gz
lumina-d566384a4a81497864c30c657ee5ceebb55d3987.tar.bz2
lumina-d566384a4a81497864c30c657ee5ceebb55d3987.zip
Ok, *Now* the desktop plugin resizing routine works properly. Also try to fix an issue with the calendar plugin not scaling down appropriately on the bottom/right edges.
Diffstat (limited to 'lumina-desktop/desktop-plugins/calendar')
-rw-r--r--lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h b/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h
index e9652e17..133a3af6 100644
--- a/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h
+++ b/lumina-desktop/desktop-plugins/calendar/CalendarPlugin.h
@@ -33,6 +33,7 @@ public:
timer->setInterval(1800000); //30 minute refresh timer
timer->start();
QTimer::singleShot(0,this, SLOT(updateDate()) );
+ connect(this, SIGNAL(PluginResized()), this, SLOT(UpdateCalendarSize()));
}
~CalendarPlugin(){ timer->stop(); }
@@ -44,6 +45,9 @@ private slots:
cal->showSelectedDate();
}
}
+ void UpdateCalendarSize(){
+ cal->setFixedSize(this->size());
+ }
};
bgstack15