Loading client/qml/PublishDialog.qml +3 −7 Changes for client/qml/PublishDialog.qml: 3 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -77,7 +77,6 @@ Dialog { model: [] delegate: ColumnLayout { id: fieldDelegate Layout.fillWidth: true spacing: 2 Loading @@ -96,13 +95,12 @@ Dialog { active: fieldDef.type === "text" || fieldDef.type === "textarea" || fieldDef.type === undefined visible: active sourceComponent: TextField { id: textInput text: fieldDef.defaultValue || "" placeholderText: fieldDef.placeholder || "" font.pixelSize: 13; color: Theme.textPrimary background: Rectangle { color: Theme.bgTertiary; border.color: Theme.border; radius: Theme.radius } Component.onCompleted: fieldDelegate.fieldControl = textInput } onLoaded: parent.fieldControl = item } /* select field */ Loading @@ -111,7 +109,6 @@ Dialog { active: fieldDef.type === "select" visible: active sourceComponent: ComboBox { id: selectInput model: fieldDef.options || [] textRole: "label" valueRole: "value" Loading @@ -119,8 +116,8 @@ Dialog { palette.text: Theme.textPrimary palette.buttonText: Theme.textPrimary background: Rectangle { color: Theme.bgTertiary; border.color: Theme.border; radius: Theme.radius } Component.onCompleted: fieldDelegate.fieldControl = selectInput } onLoaded: parent.fieldControl = item } /* checkbox field */ Loading @@ -129,7 +126,6 @@ Dialog { active: fieldDef.type === "checkbox" visible: active sourceComponent: CheckBox { id: checkInput checked: fieldDef.defaultValue === true || fieldDef.defaultValue === "true" text: fieldDef.label || fieldDef.key contentItem: Text { Loading @@ -137,8 +133,8 @@ Dialog { leftPadding: parent.indicator.width + 4 verticalAlignment: Text.AlignVCenter } Component.onCompleted: fieldDelegate.fieldControl = checkInput } onLoaded: parent.fieldControl = item } } } Loading Loading
client/qml/PublishDialog.qml +3 −7 Changes for client/qml/PublishDialog.qml: 3 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -77,7 +77,6 @@ Dialog { model: [] delegate: ColumnLayout { id: fieldDelegate Layout.fillWidth: true spacing: 2 Loading @@ -96,13 +95,12 @@ Dialog { active: fieldDef.type === "text" || fieldDef.type === "textarea" || fieldDef.type === undefined visible: active sourceComponent: TextField { id: textInput text: fieldDef.defaultValue || "" placeholderText: fieldDef.placeholder || "" font.pixelSize: 13; color: Theme.textPrimary background: Rectangle { color: Theme.bgTertiary; border.color: Theme.border; radius: Theme.radius } Component.onCompleted: fieldDelegate.fieldControl = textInput } onLoaded: parent.fieldControl = item } /* select field */ Loading @@ -111,7 +109,6 @@ Dialog { active: fieldDef.type === "select" visible: active sourceComponent: ComboBox { id: selectInput model: fieldDef.options || [] textRole: "label" valueRole: "value" Loading @@ -119,8 +116,8 @@ Dialog { palette.text: Theme.textPrimary palette.buttonText: Theme.textPrimary background: Rectangle { color: Theme.bgTertiary; border.color: Theme.border; radius: Theme.radius } Component.onCompleted: fieldDelegate.fieldControl = selectInput } onLoaded: parent.fieldControl = item } /* checkbox field */ Loading @@ -129,7 +126,6 @@ Dialog { active: fieldDef.type === "checkbox" visible: active sourceComponent: CheckBox { id: checkInput checked: fieldDef.defaultValue === true || fieldDef.defaultValue === "true" text: fieldDef.label || fieldDef.key contentItem: Text { Loading @@ -137,8 +133,8 @@ Dialog { leftPadding: parent.indicator.width + 4 verticalAlignment: Text.AlignVCenter } Component.onCompleted: fieldDelegate.fieldControl = checkInput } onLoaded: parent.fieldControl = item } } } Loading