<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">So in a fit of anger and clearly with a certain dose of self-losing and yearning to inflict pain on myself I decided to tackle the horrid layout issues that we had been facing. I know, engineers working on design and everything. But Subsurface 4.3 looks terrible. And it doesn’t look much better on Linux, either.</div><div class=""><br class=""></div><div class="">So with that in mind I went on a quest to figure out why the Mac and KDE (to be specific) versions look so extremely different. And it turns out that layouts have different default margins - and we randomly did and did not set margins in the .ui files.</div><div class="">I cleaned up some of the .ui files and gave the layouts reasonable names so we can reference them from the Qt code. And I did a rather blunt and brutal attempt to force some consistency onto the layout. The result is of course in the eye of the beholder. Here is Subsurface 4.3 on my iMac5k:</div><div class=""><br class=""></div><div class=""><img height="539" width="967" apple-width="yes" apple-height="yes" apple-inline="yes" id="5A4150D5-FC01-400C-9246-27562ED007AA" src="cid:E5FA10E2-8223-4F56-94D2-94E1366CD3C8" class=""></div><div class=""><br class=""></div><div class="">With the latest master it looks in my mind a bit more reasonable</div><div class=""><br class=""></div><div class=""><img height="537" width="967" apple-width="yes" apple-height="yes" apple-inline="yes" id="A3350B5C-C6AD-4FE8-B541-B876ABE854CE" src="cid:8033CAE4-DC73-4805-8BA0-AF2A6BBE346B" class=""></div><div class=""><br class=""></div><div class="">But the thing that strikes me the worst is the wasted space in the toolbar between the tab widget and the profile.</div><div class="">Something is scaling the icons and adding this massive amount of white space around them that allows us to only show 7 buttons at this resolution (~1000x~550 - so that’s what you’d get on a netbook or small laptop). That’s a joke - at roughly the same size I can get 10 buttons on Linux - and the overall look of the toolbar is better there as well:</div><div class=""><br class=""></div><div class=""><img height="298" width="548" apple-width="yes" apple-height="yes" apple-inline="yes" id="5DCF9118-FBC3-4826-B326-2E7B738DEE7C" src="cid:5A2A89FD-8F19-43FF-A693-7142F95258C7" class=""></div><div class=""><br class=""></div><div class="">(the size is scaled because I’m running Linux on a my rrMBP in full resolution and then MacOS wants to scale things when doing a screenshot or something… whatever)</div><div class=""><br class=""></div><div class="">Now make no mistake - overall the Mac layout is MUCH more attractive. But those buttons. Yuck.</div><div class=""><br class=""></div><div class="">Qt experts - any way to fix that? </div><div class=""><br class=""></div><div class="">/D</div></body></html>