chore: minor ui fixes

This commit is contained in:
vladimir.kuznetsov 2025-04-16 14:05:07 +08:00
parent fa6323e8c9
commit 7b44a7015e
3 changed files with 8 additions and 4 deletions

View file

@ -14,7 +14,7 @@ TextField {
property string defaultBackgroundColor: Style.color.white
property string defaultBorderColor: Style.color.gray3
property string defaultTextColor: Style.color.gray6
property string defaultTextColor: Style.color.black
property string hoveredBackgroundColor: Style.color.white
property string hoveredBorderColor: Style.color.gray6
@ -44,6 +44,7 @@ TextField {
selectionColor: Style.color.accent1
selectedTextColor: Style.color.white
placeholderTextColor: Style.color.gray6
font.pixelSize: 17
font.weight: 400

View file

@ -85,9 +85,7 @@ Page {
Layout.topMargin: 10
Layout.preferredWidth: defaultServerDropDown.width
visible: ServersModel.isDefaultServerFromApi &&
ServersModel.defaultServerDescriptionCollapsed !== "" &&
ServersModel.defaultServerDescriptionCollapsed !== ServersModel.defaultServerName
visible: ServersModel.defaultServerImagePathCollapsed !== ""
text: ServersModel.defaultServerDescriptionCollapsed
@ -96,6 +94,7 @@ Page {
PageController.showNotificationMessage(qsTr("Unable change server location while there is an active connection"))
return
}
ServersModel.setProcessedServerIndex(ServersModel.defaultIndex)
PageController.goToPage(PageEnum.PageCountrySelector)
}
}

View file

@ -65,6 +65,8 @@ Page {
}
XSmallTextType {
visible: false
Layout.leftMargin: 16
Layout.rightMargin: 16
Layout.bottomMargin: 8
@ -74,6 +76,8 @@ Page {
}
InputType {
visible: false
id: textKey
Layout.leftMargin: 16