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)
|
// Set window opaque (inhibits redraw from windows bellow)
|
||||||
setWindowFlags(getWindowFlags() | OPAQUE);
|
setWindowFlags(getWindowFlags() | OPAQUE);
|
||||||
setRect(parent->getRect());
|
setRect(parent->getRect());
|
||||||
|
setLeft(parent->getScrollPositionX());
|
||||||
this->fullscreen = true;
|
this->fullscreen = true;
|
||||||
fsStartedTS = RTOS_GET_MS();
|
fsStartedTS = RTOS_GET_MS();
|
||||||
bringToTop();
|
bringToTop();
|
||||||
|
|||||||
Reference in New Issue
Block a user