From: GiWoong Kim Date: Wed, 13 Jan 2016 06:20:43 +0000 (+0900) Subject: controller: make fixed size floating controller X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab5c47735048fd11ae678277543ebece44d16abb;p=sdk%2Femulator%2Fqemu.git controller: make fixed size floating controller Sets both the minimum and maximum sizes of the widget to initial value, thereby preventing it from ever growing or shrinking. Change-Id: I6afc0150255b51ea42575bd881d2b9e06f5a316c Signed-off-by: GiWoong Kim --- diff --git a/tizen/src/ui/controller/floatingcontroller.cpp b/tizen/src/ui/controller/floatingcontroller.cpp index 132d168cd1..f0c076ce9d 100644 --- a/tizen/src/ui/controller/floatingcontroller.cpp +++ b/tizen/src/ui/controller/floatingcontroller.cpp @@ -64,6 +64,8 @@ void FloatingController::showEvent(QShowEvent *event) menu->setChecked(true); } + setFixedSize(size()); + QImage *baseImage = &(conForm->skinImg[LayoutForm::normal]); if (baseImage->isNull() == true) { qWarning("invalid image for region");