diff options
| author | Felix Ernst <[email protected]> | 2023-11-18 12:31:00 +0100 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2023-11-24 11:52:54 +0000 |
| commit | d3637f380ccca26a281331a02ce76ed60e84cfe3 (patch) | |
| tree | 82f998010a89bb37bd6fbb88695c284666f85484 /src/statusbar/dolphinstatusbar.h | |
| parent | e8fcef32b25b847e997df3a8232eb20980989794 (diff) | |
Turn free space label into a flat button
The usage of a label to show this space information is problematic
because there are features/actions hidden behind clicking the
label. A button makes this clear. It also fixes the accessibility
of this control because previously this info would never be read
out by screen readers as it couldn't get keyboard focus.
A side-effect of this change is that the free disk space bar looks
more normal with non-Breeze styles. This had been a long-standing
issue.
Diffstat (limited to 'src/statusbar/dolphinstatusbar.h')
| -rw-r--r-- | src/statusbar/dolphinstatusbar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/statusbar/dolphinstatusbar.h b/src/statusbar/dolphinstatusbar.h index 983f5b6da..5cb1c4b60 100644 --- a/src/statusbar/dolphinstatusbar.h +++ b/src/statusbar/dolphinstatusbar.h @@ -121,6 +121,8 @@ private: */ void setExtensionsVisible(bool visible); + void updateContentsMargins(); + private: QString m_text; QString m_defaultText; |
