Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CyAn84 committed Oct 25, 2024
1 parent e38a1d9 commit 78ec451
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
3 changes: 3 additions & 0 deletions client/ui/qml/Pages2/PageSettingsAbout.qml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ PageType {

ListView {
id: listView

anchors.top: backButton.bottom
anchors.bottom: parent.bottom
anchors.right: parent.right
Expand Down Expand Up @@ -218,6 +219,7 @@ PageType {

BasicButtonType {
id: checkUpdatesButton

Layout.alignment: Qt.AlignHCenter
Layout.topMargin: 8
Layout.bottomMargin: 16
Expand All @@ -238,6 +240,7 @@ PageType {

BasicButtonType {
id: privacyPolicyButton

Layout.alignment: Qt.AlignHCenter
Layout.bottomMargin: 16
Layout.topMargin: -15
Expand Down
4 changes: 2 additions & 2 deletions client/ui/qml/Pages2/PageShareFullAccess.qml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ PageType {

shareConnectionDrawer.headerText = qsTr("Accessing ") + serverSelector.text
shareConnectionDrawer.configContentHeaderText = qsTr("File with accessing settings to ") + serverSelector.text
serverSelector.close()
serverSelector.closeTriggered()
}

Component.onCompleted: {
Expand Down Expand Up @@ -142,7 +142,7 @@ PageType {
shareConnectionDrawer.headerText = qsTr("Connection to ") + serverSelector.text
shareConnectionDrawer.configContentHeaderText = qsTr("File with connection settings to ") + serverSelector.text

shareConnectionDrawer.open()
shareConnectionDrawer.openTriggered()
shareConnectionDrawer.contentVisible = true

PageController.showBusyIndicator(false)
Expand Down
18 changes: 14 additions & 4 deletions client/ui/qml/Pages2/PageStart.qml
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,22 @@ PageType {
}

Keys.onPressed: function(event) {
if(event.key === Qt.Key_Tab) {
console.debug(">>>> ", event.key, " Event is caught by StartPage")
switch (event.key) {
case Qt.Key_Tab:
case Qt.Key_Down:
case Qt.Key_Right:
FocusController.nextKeyTabItem()
break
case Qt.Key_Backtab:
case Qt.Key_Up:
case Qt.Key_Left:
FocusController.previousKeyTabItem()
break
default:
PageController.keyPressEvent(event.key)
event.accepted = true
}

PageController.keyPressEvent(event.key)
event.accepted = true
}
}

Expand Down

0 comments on commit 78ec451

Please sign in to comment.