Skip to content

Use icons-only "Show Sidebar" Button with new icon, if available

Nate Graham requested to merge ngraham/okular:icons-only-sidebar-button into master

This commit makes the "Show Sidebar" button that's on the toolbar by default use the new sidebar-expand icon, if present. If not, it falls back to the old view-sidetree icon for compatibility's sake.

We also make thie button icons-only by default, as the new icon is clearer than the old one. This saves some horizontal space in the defualt toolbar, which is now quite wide.

New default window appearance (without !401 (merged) applied):

Screenshot_20210414_113431

cc @teams/vdg

Merge request reports