diff options
| author | Akseli Lahtinen <[email protected]> | 2025-04-24 15:03:42 +0300 |
|---|---|---|
| committer | Akseli Lahtinen <[email protected]> | 2025-04-24 15:08:25 +0300 |
| commit | be36fc1bc45b63693bd5861efed94c08cd9ffe2a (patch) | |
| tree | d28221d403d6b81ec1bf98c45467c31db0ff39e8 /src/statusbar/statusbarspaceinfo.h | |
| parent | 98dfc4dc180386e79ce2914aab57b2944be83620 (diff) | |
DolphinStatusBar: Fix premature text squeezing
The text would get squeezed and elided prematurely due to some clipping
calculations and paddings created for the clipping.
This slightly modifies the clipping code, that we extend the painted
area and then clip off the excess, instead of moving the area to
specific place and then clipping off the excess.
This also makes sure the text width accounts for one extra character
plus the clippings we do, so that text will always fit the statusbar.
BUG: 503164
Diffstat (limited to 'src/statusbar/statusbarspaceinfo.h')
0 files changed, 0 insertions, 0 deletions
