https://bugs.kde.org/show_bug.cgi?id=492340

--- Comment #3 from Ismael Asensio <isma...@gmail.com> ---
(In reply to Nate Graham from comment #2)
> Created attachment 173061 [details]
> With lots of background rectangles for illustration purposes
> 
> Here you go, with lots of rectangles behind the items.
> 
> I figured it out: it's the umbrella emoji! You see a colorful emoji which
> has the same height as the text, so the height of the "chance of
> precipitation" labels matches up with the height of the "no precipitation"
> labels.
> 
> But for me, I see a monochrome emoji which, for some reason, is taller than
> the rest of the characters. This increases the height of the "chance of
> precipitation" labels. relative to the "no precipitation" labels.
> 
> Setting "Layout.preferredHeight: 50" on the precipitation label fixes it,
> though of course that's a crude fix that's the wrong way to go about it.

Nice! The colored/uncolored emoji is a translation issue. I tried to set it
always to b&w, but the special unicode character to set "text mode" doesn't get
extracted into the translation files. When using en_US I think you'll be
getting the untranslated text.

At this point I think the colored one looks better and hopefully also behaves
better. Worst case scenario, it has to do with different emoji fonts and I'll
have to add a TextMetrics to fix it

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to