chore: minor ui fixes
This commit is contained in:
parent
fa6323e8c9
commit
7b44a7015e
3 changed files with 8 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ TextField {
|
||||||
|
|
||||||
property string defaultBackgroundColor: Style.color.white
|
property string defaultBackgroundColor: Style.color.white
|
||||||
property string defaultBorderColor: Style.color.gray3
|
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 hoveredBackgroundColor: Style.color.white
|
||||||
property string hoveredBorderColor: Style.color.gray6
|
property string hoveredBorderColor: Style.color.gray6
|
||||||
|
|
@ -44,6 +44,7 @@ TextField {
|
||||||
|
|
||||||
selectionColor: Style.color.accent1
|
selectionColor: Style.color.accent1
|
||||||
selectedTextColor: Style.color.white
|
selectedTextColor: Style.color.white
|
||||||
|
placeholderTextColor: Style.color.gray6
|
||||||
|
|
||||||
font.pixelSize: 17
|
font.pixelSize: 17
|
||||||
font.weight: 400
|
font.weight: 400
|
||||||
|
|
|
||||||
|
|
@ -85,9 +85,7 @@ Page {
|
||||||
Layout.topMargin: 10
|
Layout.topMargin: 10
|
||||||
Layout.preferredWidth: defaultServerDropDown.width
|
Layout.preferredWidth: defaultServerDropDown.width
|
||||||
|
|
||||||
visible: ServersModel.isDefaultServerFromApi &&
|
visible: ServersModel.defaultServerImagePathCollapsed !== ""
|
||||||
ServersModel.defaultServerDescriptionCollapsed !== "" &&
|
|
||||||
ServersModel.defaultServerDescriptionCollapsed !== ServersModel.defaultServerName
|
|
||||||
|
|
||||||
text: ServersModel.defaultServerDescriptionCollapsed
|
text: ServersModel.defaultServerDescriptionCollapsed
|
||||||
|
|
||||||
|
|
@ -96,6 +94,7 @@ Page {
|
||||||
PageController.showNotificationMessage(qsTr("Unable change server location while there is an active connection"))
|
PageController.showNotificationMessage(qsTr("Unable change server location while there is an active connection"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
ServersModel.setProcessedServerIndex(ServersModel.defaultIndex)
|
||||||
PageController.goToPage(PageEnum.PageCountrySelector)
|
PageController.goToPage(PageEnum.PageCountrySelector)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,8 @@ Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
XSmallTextType {
|
XSmallTextType {
|
||||||
|
visible: false
|
||||||
|
|
||||||
Layout.leftMargin: 16
|
Layout.leftMargin: 16
|
||||||
Layout.rightMargin: 16
|
Layout.rightMargin: 16
|
||||||
Layout.bottomMargin: 8
|
Layout.bottomMargin: 8
|
||||||
|
|
@ -74,6 +76,8 @@ Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
InputType {
|
InputType {
|
||||||
|
visible: false
|
||||||
|
|
||||||
id: textKey
|
id: textKey
|
||||||
|
|
||||||
Layout.leftMargin: 16
|
Layout.leftMargin: 16
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue