Skip to content

KCapacityBar: Don't leave space for empty text

Felix Ernst requested to merge (removed):consider_empty_text_invisible into master
Before After
image image

Prior to this commit the Breeze style would leave empty space next to the capacity bar because the capacity bar was reporting that there would be visible text. That's not true though when no text has been set which is the default. With this commit text is only considered visible when text actually exists, which in turn means that no empty space will be reserved unnecessarily.

Merge request reports