Tweak textarea.

This commit is contained in:
Black Hat
2018-09-20 07:01:55 +08:00
parent 0361432c3d
commit 459920657c
5 changed files with 18 additions and 11 deletions

View File

@@ -109,6 +109,14 @@ RowLayout {
spacing: 4
AutoLabel {
visible: userMarker.length > 5
text: userMarker.length - 5 + "+"
coloredBackground: highlighted
Material.foreground: "grey"
font.pointSize: 8
}
Repeater {
model: userMarker.length > 5 ? userMarker.slice(0, 5) : userMarker
@@ -121,14 +129,6 @@ RowLayout {
}
}
AutoLabel {
visible: userMarker.length > 5
text: userMarker.length - 5 + "+"
coloredBackground: highlighted
Material.foreground: "grey"
font.pointSize: 8
}
AutoLabel {
id: timeLabel