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

View file

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