mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Position reaction emoji and text on the same baseline
This commit is contained in:
parent
54013e4a00
commit
846ff33ed8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue