Position reaction emoji and text on the same baseline

This commit is contained in:
Nicolas Werner 2020-05-04 13:41:18 +02:00
parent 54013e4a00
commit 846ff33ed8
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ Flow {
padding: 4
Text {
anchors.baseline: reactionCounter.baseline
id: reactionText
text: reaction.text
font.family: settings.emoji_font_family
@ -44,6 +45,7 @@ Flow {
}
Text {
id: reactionCounter
text: model.counter
font: reaction.font
opacity: enabled ? 1.0 : 0.3