Prevent saving alias taken by other account
This commit is contained in:
@@ -8,6 +8,7 @@ HColumnLayout {
|
||||
|
||||
|
||||
property alias label: label
|
||||
property alias errorLabel: errorLabel
|
||||
property alias field: field
|
||||
property alias toolTip: toolTip
|
||||
|
||||
@@ -51,4 +52,16 @@ HColumnLayout {
|
||||
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
HLabel {
|
||||
id: errorLabel
|
||||
visible: Layout.maximumHeight > 0
|
||||
wrapMode: Text.Wrap
|
||||
color: theme.colors.errorText
|
||||
|
||||
Layout.maximumHeight: text ? implicitHeight : 0
|
||||
Layout.fillWidth: true
|
||||
|
||||
Behavior on Layout.maximumHeight { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user