Minor improvements to UI
This commit is contained in:
parent
764638a329
commit
d6cc5899b9
3 changed files with 5 additions and 5 deletions
|
|
@ -54,7 +54,7 @@ ColumnLayout {
|
||||||
placeholderText: "Enter the location name"
|
placeholderText: "Enter the location name"
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
onEditingFinished: {
|
onEditingFinished: {
|
||||||
Settings.data.location.name = text
|
Settings.data.location.name = text.trim()
|
||||||
LocationService.resetWeather()
|
LocationService.resetWeather()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -169,8 +169,8 @@ Singleton {
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------
|
// --------------------------------
|
||||||
function errorCallback(message) {
|
function errorCallback(module, message) {
|
||||||
Logger.error(message)
|
Logger.error(module, message)
|
||||||
isFetchingWeather = false
|
isFetchingWeather = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,8 @@ RowLayout {
|
||||||
|
|
||||||
NText {
|
NText {
|
||||||
text: description
|
text: description
|
||||||
font.pointSize: Style.fontSizeXS * scaling
|
font.pointSize: Style.fontSizeS * scaling
|
||||||
color: Color.mOnSurface
|
color: Color.mOnSurfaceVariant
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue