Place full screen widget at the same relative position within main view
This commit is contained in:
@@ -173,6 +173,7 @@ void Widget::setFullscreen(bool fullscreen)
|
||||
// Set window opaque (inhibits redraw from windows bellow)
|
||||
setWindowFlags(getWindowFlags() | OPAQUE);
|
||||
setRect(parent->getRect());
|
||||
setLeft(parent->getScrollPositionX());
|
||||
this->fullscreen = true;
|
||||
fsStartedTS = RTOS_GET_MS();
|
||||
bringToTop();
|
||||
|
||||
Reference in New Issue
Block a user