Results 1 to 2 of 2

Thread: Layout differences Qt 4.1/Qt 4.2, why?

  1. #1
    Join Date
    Jan 2006
    Location
    Leiden, the Netherlands
    Posts
    43
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Layout differences Qt 4.1/Qt 4.2, why?

    Hello,

    I moved from Qt 4.1 to Qt 4.2 and I discovered that the layout of my ListWidgets and TreeWidgets are different. The code is exactly the same, I only compiled with a different lib.

    The Items are now very small (so the text breaks and ends with ... now) and there is a large margin between two items. I probably have to set or adjust something new in Qt 4.2, but I don't have a clue what it could be.

    Could anyone help me?

    Arthur

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

    Default Re: Layout differences Qt 4.1/Qt 4.2, why?

    I suggest you update to 4.4. Things related to item layout in itemviews were subject to bugs and fixes between 4.1 and 4.3.

Similar Threads

  1. changing layout of a widget
    By mikro in forum Qt Programming
    Replies: 10
    Last Post: 4th August 2009, 20:21
  2. Qt layout memory issue
    By bunjee in forum Qt Programming
    Replies: 9
    Last Post: 25th August 2007, 17:11
  3. Resizing problems when applying a layout
    By JimBrown in forum Newbie
    Replies: 1
    Last Post: 21st February 2007, 22:54
  4. "dynamic" layout
    By hulk in forum Qt Programming
    Replies: 2
    Last Post: 9th May 2006, 07:16

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.