anchors.right: parent.right
width: parent.width
// height: messageEditor.height > image.height ? messageEditor.height : image.height
- height: charactersLeftRect.height + textEditRow.height
+ height: textEditRow.y + textEditRow.height + 3
+ clip: true
Rectangle {
id: charactersLeftRect
- height: charactersLeft.height
- width: charactersLeft.width
- anchors.top: parent.top
- anchors.horizontalCenter: messageEditorRect.horizontalCenter
+ anchors.fill: charactersLeft
+ anchors.leftMargin: -4
+ anchors.rightMargin: anchors.leftMargin
border { color: "black"; width: 1 }
color: "white"
radius: 5
Text {
id: charactersLeft
- anchors.centerIn: charactersLeftRect
+ anchors.top: parent.top
+ anchors.horizontalCenter: messageEditorRect.horizontalCenter
font.pixelSize: 14
opacity: 0
Behavior on opacity { NumberAnimation { duration: animationDuration } }