adapted questionDrawer

This commit is contained in:
ronoaer 2023-10-15 21:29:01 +08:00
parent 29b4966119
commit cb5c09d967
5 changed files with 7 additions and 2 deletions

View file

@ -15,10 +15,11 @@ Drawer2Type {
property var yesButtonFunction
property var noButtonFunction
property real drawerHeight: 0.5
width: parent.width
height: parent.height
contentHeight: parent.height * 0.5
contentHeight: parent.height * drawerHeight
ColumnLayout {
parent: root.contentParent

View file

@ -31,7 +31,7 @@ Drawer2Type {
height: parent.height
contentHeight: parent.height * 0.9
onClose: {
onClosed: {
configExtension = ".vpn"
configCaption = qsTr("Save AmneziaVPN config")
configFileName = "amnezia_config"

View file

@ -151,5 +151,6 @@ PageType {
QuestionDrawer {
id: questionDrawer
parent: root
}
}

View file

@ -193,6 +193,8 @@ PageType {
QuestionDrawer {
id: questionDrawer
drawerHeight: 0.8
parent: root
}
}

View file

@ -141,6 +141,7 @@ PageType {
QuestionDrawer {
id: questionDrawer
parent: root
}
}
}