daemonFlags input: fillWidth and force wrap (multiline)

This commit is contained in:
dsc 2019-01-30 15:13:30 +01:00
parent 8eb4f0db2a
commit 515d051c6a
No known key found for this signature in database
GPG Key ID: 7BBC83D7A8810AAB

View File

@ -396,22 +396,18 @@ Rectangle{
} }
} }
RowLayout { MoneroComponents.LineEditMulti {
id: daemonFlagsRow id: daemonFlags
Layout.fillWidth: true
MoneroComponents.LineEditMulti { labelFontSize: 14 * scaleRatio
id: daemonFlags fontSize: 15 * scaleRatio
Layout.preferredWidth: 200 wrapMode: Text.WrapAnywhere
Layout.fillWidth: true labelText: qsTr("Daemon startup flags") + translationManager.emptyString
labelFontSize: 14 * scaleRatio placeholderText: qsTr("(optional)") + translationManager.emptyString
fontSize: 15 * scaleRatio placeholderFontSize: 15 * scaleRatio
labelText: qsTr("Daemon startup flags") + translationManager.emptyString text: persistentSettings.daemonFlags
placeholderText: qsTr("(optional)") + translationManager.emptyString addressValidation: false
placeholderFontSize: 15 * scaleRatio onEditingFinished: persistentSettings.daemonFlags = daemonFlags.text;
text: persistentSettings.daemonFlags
addressValidation: false
onEditingFinished: persistentSettings.daemonFlags = daemonFlags.text;
}
} }
RowLayout { RowLayout {