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 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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -151,5 +151,6 @@ PageType {
|
|||
|
||||
QuestionDrawer {
|
||||
id: questionDrawer
|
||||
parent: root
|
||||
}
|
||||
}
|
||||
|
|
|
@ -193,6 +193,8 @@ PageType {
|
|||
QuestionDrawer {
|
||||
id: questionDrawer
|
||||
|
||||
drawerHeight: 0.8
|
||||
|
||||
parent: root
|
||||
}
|
||||
}
|
||||
|
|
|
@ -141,6 +141,7 @@ PageType {
|
|||
|
||||
QuestionDrawer {
|
||||
id: questionDrawer
|
||||
parent: root
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue