Results 1 to 3 of 3

Thread: Handle DockWidgets

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2006
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Post Handle DockWidgets

    Hi,

    I have an application with many docks. On linux, I add them in the BottomWidgetArea for example and when I run the application, their respective width is computed so that they all look the same.

    On MacOSX, their width is not automatically computed. The first one is huge whereas the following ones are tiny.

    Is their a way to handle this in the code ? I didn't find any so far ... Thanks !

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Handle DockWidgets

    You could put constrains on the layout, for example with QLayout::setSizeConstraint.

  3. #3
    Join Date
    Apr 2006
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Handle DockWidgets

    It doesn't work, maybe this will be fixed in the next version of qt-mac since it works perfectly on x11 ...

Similar Threads

  1. Replies: 17
    Last Post: 8th February 2007, 16:30
  2. New thread to handle paintEvent
    By bitChanger in forum Qt Programming
    Replies: 1
    Last Post: 9th March 2006, 21:41

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
  •  
Qt is a trademark of The Qt Company.