Angus Leeming wrote:

> Jean-Marc Lasgouttes wrote:
>> Angus> Here's the (much simpler) patch for 1.4 too.
> 
>> What happens when two toolbars are put on the same line? How does
>> the filler behave?
> 
> It appears to create a small, but non-zero spacer. Try the attached,
> changing the "#if 0" to "#if 1" to see the difference.
> 
>   moc toolbar.h > toolbar.moc
>   g++ -I/usr/include/qt3 -o toolbar toolbar.cpp -lqt-mt
>   ./toolbar
> 
> Personally, I'm quite comfortable with this small extra spacer. Are
> you?

Maybe, you can just copy-paste KDE code?

   void KToolBar::setFullSize(bool flag )
   {
      setHorizontalStretchable( flag );
      setVerticalStretchable( flag );
   }

?

- Volodya


Reply via email to