[okular] [Bug 425718] Hide button of annotation toolbar may move to second row as a single item

David Hurka bugzilla_noreply at kde.org
Sun Aug 23 19:06:52 BST 2020


https://bugs.kde.org/show_bug.cgi?id=425718

David Hurka <david.hurka at mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INTENTIONAL
             Status|REPORTED                    |RESOLVED

--- Comment #2 from David Hurka <david.hurka at mailbox.org> ---
> There's actually space.
Yes.

> The hide button would perfectly fit
No, not perfectly.

For a smart user it looks obvious that there is enough space for the red
circle. But this button is a tool button with a square icon, and thus has the
same size as the “Keep Active” button next to it.a

You can see in your screenshot that “Keep Active” is square, but the button
with the arrow is not square, and so fits there. This is probably because the
arrow is not an icon, but a “GUI primitive”, which happens to be narrower in
Breeze widget style.

Probably one of these: https://doc.qt.io/qt-5/qstyle.html#PrimitiveElement-enum

Closing as INTENTIONAL, because the size hint concept of the Qt layouting
system is designed too simple to communicate “I can fit there if you allow me
to put less padding arround the icon than the specified minimum in the Breeze
widget style”; and Okular just uses this system.

If this is an issue, you could try e. g. Fusion widget style, that uses less
padding.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list