NCombox + NTextInput proper label/description support
+ Associated changes in window settings
This commit is contained in:
parent
3997a369ec
commit
0417590221
8 changed files with 111 additions and 125 deletions
|
|
@ -47,8 +47,10 @@ ColumnLayout {
|
|||
Layout.topMargin: Style.marginSmall * scaling
|
||||
|
||||
NTextInput {
|
||||
label: "Location name"
|
||||
description: "Choose a known location near you"
|
||||
text: Settings.data.location.name
|
||||
placeholderText: "Enter city name"
|
||||
placeholderText: "Enter the location name"
|
||||
Layout.fillWidth: true
|
||||
onEditingFinished: {
|
||||
Settings.data.location.name = text
|
||||
|
|
@ -64,7 +66,7 @@ ColumnLayout {
|
|||
|
||||
// Time section
|
||||
ColumnLayout {
|
||||
spacing: Style.marginLarge * scaling
|
||||
spacing: Style.marginLarge * scaling
|
||||
Layout.fillWidth: true
|
||||
|
||||
NText {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue