Index: sources/gui/qml/pages/settings/SettingsBase.qml =================================================================== diff -u -r65558208e4968de9a5470ff5fda1ee2a9d00c793 -r7077e38c74db9cccb5496ffefcf8936c0916de76 --- sources/gui/qml/pages/settings/SettingsBase.qml (.../SettingsBase.qml) (revision 65558208e4968de9a5470ff5fda1ee2a9d00c793) +++ sources/gui/qml/pages/settings/SettingsBase.qml (.../SettingsBase.qml) (revision 7077e38c74db9cccb5496ffefcf8936c0916de76) @@ -27,6 +27,7 @@ ScreenItem { id: _root objectName: "_SettingsBase" + property var firstFocusInput : undefined readonly property int topMarginTitle : 100 property int topMarginContent : 200 @@ -45,6 +46,13 @@ signal backClicked() signal confirmClicked() + function setFocus() { + if (firstFocusInput) { + firstFocusInput.textInput.forceActiveFocus() + _keyboard.setVisible(true) + } + } + BackButton { id : _backButton objectName: "_backButton" visible: true @@ -80,6 +88,7 @@ topMargin : topMarginTitle horizontalCenter: parent.horizontalCenter } + horizontalAlignment : Text.AlignHCenter text : itemsText[itemIndex] color : Colors.textMain font.pixelSize : Fonts.fontPixelTitle