restore the widescreen mode

This commit is contained in:
Marco Martin 2021-06-09 15:50:40 +02:00
parent 210468572d
commit b0b0e6f237

View file

@ -28,8 +28,8 @@ NanoShell.FullScreenOverlay {
readonly property int openedContentY: wideScreen || offset > (collapsedHeight + openThreshold) ? -topEmptyAreaHeight : offsetToContentY(collapsedHeight)
readonly property int closedContentY: mainFlickable.contentHeight
readonly property bool wideScreen: false//width > height || width > units.gridUnit * 45
readonly property int drawerWidth: 400//wideScreen ? contentItem.implicitWidth : width
readonly property bool wideScreen: width > height || width > units.gridUnit * 45
readonly property int drawerWidth: wideScreen ? contentItem.implicitWidth : width
property int drawerX: 0
property alias fixedArea: mainScope