[okular] [Bug 501764] New: Icons in sidebar tab widgets should be centred
David Koer
bugzilla_noreply at kde.org
Wed Mar 19 20:18:56 GMT 2025
https://bugs.kde.org/show_bug.cgi?id=501764
Bug ID: 501764
Summary: Icons in sidebar tab widgets should be centred
Classification: Applications
Product: okular
Version: 24.12.3
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: nilsolm at outlook.com
Target Milestone: ---
Created attachment 179584
--> https://bugs.kde.org/attachment.cgi?id=179584&action=edit
Okular with the sidebar expanded
SUMMARY
The tab widgets in the sidebar contain 22px icons. Currently, the icons are
left aligned instead of being centred in the widget. This isn't really a
problem unless the sidebar is extended to be considerably wider than 22px and
the icons keep their alignment to the left. It would probably look better if
the icons were centred instead.
STEPS TO REPRODUCE
1. Make sure the sidebar is displayed
2. Expand the sidebar such that the width of the tab widgets exceeds the icon
width.
OBSERVED RESULT
The icons remain left aligned as the tab width expands (see attached
screenshot).
EXPECTED RESULT
The icons should be centred instead.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
ADDITIONAL INFORMATION
Gwenview similarly has a sidebar with multiple tabs. I haven't looked, but I
assume those are QTabWidgets as well. Unlike in Okular, the icons are centred
even as the sidebar expands. If the tab width exceeds a certain limit, both the
icon and the label are displayed side by side and remain centred. That would
probably be a better approach.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list