From ab5c47735048fd11ae678277543ebece44d16abb Mon Sep 17 00:00:00 2001 From: GiWoong Kim Date: Wed, 13 Jan 2016 15:20:43 +0900 Subject: [PATCH] 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 --- tizen/src/ui/controller/floatingcontroller.cpp | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.34.1