NCombox + NTextInput proper label/description support

+ Associated changes in window settings
This commit is contained in:
quadbyte 2025-08-12 18:34:26 -04:00
parent 3997a369ec
commit 0417590221
8 changed files with 111 additions and 125 deletions

View file

@ -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 {