diff options
author | GiWoong Kim <giwoong.kim@samsung.com> | 2016-01-13 15:20:43 +0900 |
---|---|---|
committer | SeokYeon Hwang <syeon.hwang@samsung.com> | 2016-01-14 20:56:12 +0900 |
commit | ab5c47735048fd11ae678277543ebece44d16abb (patch) | |
tree | dfeef5666cdaa155c8a03bd76e8583923ebc6645 | |
parent | 6848fc58b97d0c6c5379ee5979ca89a4103c0236 (diff) | |
download | qemu-ab5c47735048fd11ae678277543ebece44d16abb.tar.gz qemu-ab5c47735048fd11ae678277543ebece44d16abb.tar.bz2 qemu-ab5c47735048fd11ae678277543ebece44d16abb.zip |
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 <giwoong.kim@samsung.com>
-rw-r--r-- | tizen/src/ui/controller/floatingcontroller.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |