controller: make fixed size floating controller
authorGiWoong Kim <giwoong.kim@samsung.com>
Wed, 13 Jan 2016 06:20:43 +0000 (15:20 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 14 Jan 2016 11:56:12 +0000 (20:56 +0900)
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 <giwoong.kim@samsung.com>
tizen/src/ui/controller/floatingcontroller.cpp

index 132d168cd171b21afec871f299fa701883cbca96..f0c076ce9d508a73318ef74e421feaf530bae894 100644 (file)
@@ -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");