Make presentation widget tool bar height independent of screen dpi
Review Request #126050 - Created Nov. 13, 2015 and submitted
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.
I think it should just be the height of m_pagesEdit plus a few pixels.
Otherwise you may end up in a situation in which it doesn't fit or on which it is too small inside a big bar, what do you think?