Results 1 to 5 of 5

Thread: flowlayout label spacing issue

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: flowlayout label spacing issue

    If the alignment didn't work that might mean that the height of the label is less than the height of the button.

    Hmm, since this is a custom layout, you could try fixing the layout's behavior so that it aligns the vertical centers of each widget of a "line".

    Cheers,
    _

  2. #2
    Join Date
    Mar 2010
    Location
    Berlin
    Posts
    19
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: flowlayout label spacing issue

    You are probably right. I will try make this work by first checking all the size hints of all items in a row and then moving items with smaller size hint heights. Thanks for the help.

Similar Threads

  1. Replies: 2
    Last Post: 5th September 2013, 15:29
  2. Replies: 2
    Last Post: 30th January 2013, 15:20
  3. Replies: 6
    Last Post: 13th August 2011, 18:31
  4. What is the line spacing
    By smoozer in forum Qt Programming
    Replies: 3
    Last Post: 9th September 2009, 16:26
  5. Problem with spacing
    By ali22 in forum Qt Tools
    Replies: 1
    Last Post: 21st January 2008, 17:51

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.