adapted questionDrawer
This commit is contained in:
parent
29b4966119
commit
cb5c09d967
5 changed files with 7 additions and 2 deletions
|
|
@ -15,10 +15,11 @@ Drawer2Type {
|
||||||
|
|
||||||
property var yesButtonFunction
|
property var yesButtonFunction
|
||||||
property var noButtonFunction
|
property var noButtonFunction
|
||||||
|
property real drawerHeight: 0.5
|
||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
contentHeight: parent.height * 0.5
|
contentHeight: parent.height * drawerHeight
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
parent: root.contentParent
|
parent: root.contentParent
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ Drawer2Type {
|
||||||
height: parent.height
|
height: parent.height
|
||||||
contentHeight: parent.height * 0.9
|
contentHeight: parent.height * 0.9
|
||||||
|
|
||||||
onClose: {
|
onClosed: {
|
||||||
configExtension = ".vpn"
|
configExtension = ".vpn"
|
||||||
configCaption = qsTr("Save AmneziaVPN config")
|
configCaption = qsTr("Save AmneziaVPN config")
|
||||||
configFileName = "amnezia_config"
|
configFileName = "amnezia_config"
|
||||||
|
|
|
||||||
|
|
@ -151,5 +151,6 @@ PageType {
|
||||||
|
|
||||||
QuestionDrawer {
|
QuestionDrawer {
|
||||||
id: questionDrawer
|
id: questionDrawer
|
||||||
|
parent: root
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -193,6 +193,8 @@ PageType {
|
||||||
QuestionDrawer {
|
QuestionDrawer {
|
||||||
id: questionDrawer
|
id: questionDrawer
|
||||||
|
|
||||||
|
drawerHeight: 0.8
|
||||||
|
|
||||||
parent: root
|
parent: root
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -141,6 +141,7 @@ PageType {
|
||||||
|
|
||||||
QuestionDrawer {
|
QuestionDrawer {
|
||||||
id: questionDrawer
|
id: questionDrawer
|
||||||
|
parent: root
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue