Results 1 to 2 of 2

Thread: Problem with unified tool bar on Mac OS X

  1. #1
    Join Date
    Sep 2006
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy Problem with unified tool bar on Mac OS X

    On OS X I have a problem with placing widgets on window tool bar when unifiedTitleAndToolBarOnMac flag is set. Looks like some kind of spacer item or stretch is placed on the right side of the tool bar, so all my widgets and buttons are moved to the left.
    I've tried to create a frame with size policy I need (adding stretches and spacer items to the corresponding layout), but unfortunatly it doesn't work.
    Setting fixed size to this frame works properly but this is not good to calculate the frame size every time tool bar is resizing =( Hope there's another way to do it...

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Problem with unified tool bar on Mac OS X

    Perhaps you could add a dummy plain QWidget with expanding size policy in front?
    J-P Nurmi

Similar Threads

  1. problem with Tool button n Layout
    By arjunasd in forum Qt Tools
    Replies: 11
    Last Post: 24th July 2007, 21:14
  2. Facing problem with tool bar icons
    By jnana in forum Qt Programming
    Replies: 4
    Last Post: 20th April 2006, 08:37
  3. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.