Make presentation widget tool bar height independent of screen dpi

Review Request #126050 - Created Nov. 13, 2015 and submitted

Information
Oliver Sander
okular
master
Reviewers
okular

Currently, the tool bar of the presentation widget has its height hard-coded to 42 pixels. Consequently, the bar gets thinner and thinner as the screen resolution increases. This patch sets the height to a fixed fraction (5%) of the screen height instead.

Tested by changing the resolution of my display. With the patch, the tool bar has the same height no matter what the resolution is.

Albert Astals Cid
Oliver Sander
Albert Astals Cid
Oliver Sander
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit db212c805fd5f8363806f24c0a33aecab6353dd3 by Albert Vaca to branch frameworks.
Loading...