fix(Input): Change `TextEdit` to `StatusBaseText` in `Input.qml`
Closes: #5188
This commit is contained in:
parent
17cdb1bb91
commit
a5cfa7dfa7
|
@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
|
||||||
|
|
||||||
import StatusQ.Controls 0.1
|
import StatusQ.Controls 0.1
|
||||||
import StatusQ.Popups 0.1
|
import StatusQ.Popups 0.1
|
||||||
|
import StatusQ.Core 0.1
|
||||||
|
|
||||||
import utils 1.0
|
import utils 1.0
|
||||||
|
|
||||||
|
@ -193,15 +194,13 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TextEdit {
|
StatusBaseText {
|
||||||
visible: !!validationError
|
visible: !!validationError
|
||||||
id: validationErrorText
|
id: validationErrorText
|
||||||
text: validationError
|
text: validationError
|
||||||
anchors.top: inputField.bottom
|
anchors.top: inputField.bottom
|
||||||
anchors.topMargin: validationErrorTopMargin
|
anchors.topMargin: validationErrorTopMargin
|
||||||
anchors.right: inputField.right
|
anchors.right: inputField.right
|
||||||
selectByMouse: true
|
|
||||||
readOnly: true
|
|
||||||
font.pixelSize: 12
|
font.pixelSize: 12
|
||||||
height: 16
|
height: 16
|
||||||
color: validationErrorColor
|
color: validationErrorColor
|
||||||
|
|
Loading…
Reference in New Issue