fixed page home height for linux
This commit is contained in:
parent
151e662027
commit
d8682003fa
2 changed files with 3 additions and 2 deletions
|
@ -107,7 +107,7 @@ PageType {
|
||||||
id: drawer
|
id: drawer
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
collapsedContent: Item {
|
collapsedContent: Item {
|
||||||
implicitHeight: Qt.platform.os !== "ios" ? root.height * 0.9 : screen.height * 0.77
|
implicitHeight: Qt.platform.os !== "ios" ? root.height * 0.9 : screen.height * 0.77
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
drawer.expandedHeight = implicitHeight
|
drawer.expandedHeight = implicitHeight
|
||||||
|
|
|
@ -33,7 +33,8 @@ Window {
|
||||||
StackViewType {
|
StackViewType {
|
||||||
id: rootStackView
|
id: rootStackView
|
||||||
|
|
||||||
anchors.fill: parent
|
width: root.width
|
||||||
|
height: root.height
|
||||||
focus: true
|
focus: true
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue