layout changes

Joakim Bygdell j.bygdell at gmail.com
Sun Jan 4 07:29:03 PST 2015


> Hmm - interesting observation. Let me see if I can make it do something
> useful with my limited Qt skills :-)

toolBar->setIconSize(QSize(24, 24));

That one takes care of the fact that the icons are of different size.
It does not solve the fact that the spacing between the icons is a bit wide.
Or that the spacer between the toolbar and the profile is twice that of what it should be.

> 
> Oh yes I can. You're a genius, Joakim! You pointed me in the right
> direction to solve this issue. It wasn't a margin. Apparently on Linux it
> always scales the icons to some pre-determined size. But on Mac it doesn't
> and allows space for the largest icon.
> 
> Now the real solution is of course that we need scalable icons so we can
> set the icon size relative to the font size. But for now this seems to get
> rid of the worst ugliness on Mac.
> 
> THANKS!
> 
> /D

/Jocke



More information about the subsurface mailing list