From 025d33adabcc4ff7b54d94d9f75d4f57717b382c Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 14 Oct 2008 05:20:20 +0000 Subject: [PATCH] minimum size fixes svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871187 --- popupapplet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/popupapplet.cpp b/popupapplet.cpp index cfc75d4da..97bfe5a06 100644 --- a/popupapplet.cpp +++ b/popupapplet.cpp @@ -180,6 +180,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints) q->setLayout(lay); } + q->setMinimumSize(gWidget->minimumSize() + marginSize); lay->addItem(gWidget); //gWidget->installEventFilter(q); } else if (qWidget) { @@ -193,7 +194,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints) lay->addItem(proxy); } - q->setMinimumSize(qWidget ? qWidget->minimumSize() + marginSize : QSizeF(300, 200)); + q->setMinimumSize(qWidget->minimumSize() + marginSize); } } else { //save the aspect ratio mode in case we drag'n drop in the Desktop later