mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +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
|
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
|
||||||
|
|
Loading…
Reference in a new issue