added transparent-background, for blocking clicked event

This commit is contained in:
ronoaer 2023-10-15 15:17:04 +08:00
parent 384ce9853b
commit 8c1835950b
15 changed files with 134 additions and 34 deletions

View file

@ -12,9 +12,12 @@ Drawer2Type {
id: root
width: parent.width
height: parent.height * 0.4375
height: parent.height
contentHeight: parent.height * 0.4375
ColumnLayout {
parent: root.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right

View file

@ -17,9 +17,12 @@ Drawer2Type {
property var noButtonFunction
width: parent.width
height: parent.height * 0.5
height: parent.height
contentHeight: parent.height * 0.5
ColumnLayout {
parent: root.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@ -27,6 +30,8 @@ Drawer2Type {
anchors.rightMargin: 16
anchors.leftMargin: 16
// visible: false
spacing: 8
Header2TextType {

View file

@ -9,11 +9,14 @@ Drawer2Type {
id: root
width: parent.width
height: parent.height * 0.9
height: parent.height
contentHeight: parent.height * 0.9
ColumnLayout {
id: backButton
parent: root.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@ -28,6 +31,7 @@ Drawer2Type {
}
FlickableType {
parent: root.contentParent
anchors.top: backButton.bottom
anchors.left: parent.left
anchors.right: parent.right

View file

@ -28,7 +28,8 @@ Drawer2Type {
property string configFileName: "amnezia_config.vpn"
width: parent.width
height: parent.height * 0.9
height: parent.height
contentHeight: parent.height * 0.9
onClose: {
configExtension = ".vpn"
@ -41,6 +42,9 @@ Drawer2Type {
Header2Type {
id: header
parent: root.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@ -50,6 +54,8 @@ Drawer2Type {
}
FlickableType {
parent: root.contentParent
anchors.top: header.bottom
anchors.bottom: parent.bottom
contentHeight: content.height + 32
@ -135,11 +141,15 @@ Drawer2Type {
parent: root
width: parent.width
height: parent.height * 0.9
height: parent.height
contentHeight: parent.height * 0.9
BackButtonType {
id: backButton
parent: configContentDrawer.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@ -151,6 +161,8 @@ Drawer2Type {
}
FlickableType {
parent: configContentDrawer.contentParent
anchors.top: backButton.bottom
anchors.left: parent.left
anchors.right: parent.right