+
+ setMinimumSize(WIDTH + frame_width * 2, HEIGHT + frame_width * 2);
+
+ #if CONFIG_EMULLCD_SCALE
+ QSizePolicy pol = QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred, QSizePolicy::Frame);
+ pol.setHeightForWidth(true);
+ #else
+ QSizePolicy pol = QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed, QSizePolicy::Frame);
+ #endif
+ setSizePolicy(pol);