[Qt-interest] Variable space between toolbar icons?

Bob Babcock wssddc at nospam.gis.net
Sun Jul 17 00:54:48 CEST 2011


I just built my first Qt application for Android.  (It's really a Windows 
application.  It seems to work on Android with no source code changes.)  
Anyway, it's got a toolbar, and if I'm going to trigger that with my big 
fingers instead of a mouse, I'd like to space the icons as widely as 
possible.  I can adjust the spacing with a stylesheet:
  ui->toolBar->setStyleSheet("spacing: 20px");
but I'd really like automatically adjusting spacers like I use in layouts.  
Can this be done?



More information about the Qt-interest-old mailing list