added swipe up for menu on PageHome
This commit is contained in:
parent
7fc4ea0c68
commit
4ab006f065
28 changed files with 90 additions and 85 deletions
|
@ -26,11 +26,15 @@ PageType {
|
|||
property string defaultServerHostName: ServersModel.defaultServerHostName
|
||||
property string defaultContainerName: ContainersModel.defaultContainerName
|
||||
|
||||
ConnectButton {
|
||||
Item {
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: buttonBackground.top
|
||||
anchors.right: parent.right
|
||||
anchors.left: parent.left
|
||||
|
||||
ConnectButton {
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
@ -125,6 +129,9 @@ PageType {
|
|||
DrawerType {
|
||||
id: menu
|
||||
|
||||
interactive: true
|
||||
dragMargin: buttonBackground.height + 56 // page start tabBar height
|
||||
|
||||
width: parent.width
|
||||
height: parent.height * 0.9
|
||||
|
||||
|
@ -320,7 +327,7 @@ PageType {
|
|||
|
||||
onClicked: function() {
|
||||
ServersModel.currentlyProcessedIndex = index
|
||||
goToPage(PageEnum.PageSettingsServerInfo)
|
||||
PageController.goToPage(PageEnum.PageSettingsServerInfo)
|
||||
menu.visible = false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue