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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
                 CC|                            |n...@kde.org
            Summary|TabButton Component -       |TabButton Component:
                   |WordWrap wraps in the       |Single-word labels can
                   |middle of a word            |awkwardly wrap within a
                   |                            |word
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from Nate Graham <n...@kde.org> ---
>From the image I see in https://invent.kde.org/mbruchert/marknote/-/issues/19,
I'm unsure how this could be generically fixed. If there isn't enough
horizontal space to display a whole word, *something* has to happen. If that
something is wrapping, then the word inevitably has to be wrapped somewhere in
the middle.

The component could be changed to have a larger minimum width, or to do
something fancy and have a minimum width that's guaranteed to be wide enough to
prevent wrapping any single-word labels within a word. As a consequence, this
would reduce design flexibility for app developers because they wouldn't be
able to precisely control the width of the component anymore. Or the *implicit*
width could use that calculation and app developers could override it, but then
the bug could just re-appear.

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

Reply via email to