mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-17 18:11:54 +00:00
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.Popups 0.1
|
||||
import StatusQ.Core 0.1
|
||||
|
||||
import utils 1.0
|
||||
|
||||
@ -193,15 +194,13 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
TextEdit {
|
||||
StatusBaseText {
|
||||
visible: !!validationError
|
||||
id: validationErrorText
|
||||
text: validationError
|
||||
anchors.top: inputField.bottom
|
||||
anchors.topMargin: validationErrorTopMargin
|
||||
anchors.right: inputField.right
|
||||
selectByMouse: true
|
||||
readOnly: true
|
||||
font.pixelSize: 12
|
||||
height: 16
|
||||
color: validationErrorColor
|
||||
|
Loading…
x
Reference in New Issue
Block a user