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

Christoph Feck <cf...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hugo.pereira.da.costa@gmail
                   |                            |.com

--- Comment #4 from Christoph Feck <cf...@kde.org> ---
Adding Hugo for the KCapacityBar issue.

The default rendering of KCapacityBar is visible on
https://api.kde.org/frameworks/kwidgetsaddons/html/classKCapacityBar.html

"inline text" mode draws the text inside the bar
"outline text" mode draws the text below the bar

KInfoCenter uses the "outline text" mode.

KCapacityBar::minimumSizeHint() assumes this layout.

With Fusion style (which does not customize the rendering), the text is
correctly drawn below the bar, and elided with trailing dots, if it does not
fit completely.

With Breeze style, the text is rendered to the right of the bar, and the bar
and leading text characters vanish when it does not fit completely.

Can KCapacityBar respect the different layout, in other words, is there some
QStyle::sizeFromContents() for this custom ControlElements implemented in
Breeze?

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

Reply via email to