Results 1 to 2 of 2

Thread: Mixing anchors and layouts - wise or not?

  1. #1
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Mixing anchors and layouts - wise or not?

    Is mixing anchors and layout in QML wise or not?
    Qt 5.3 Opensource & Creator 3.1.2

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,546 Times in 1,496 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Mixing anchors and layouts - wise or not?

    That is a very vague question.
    The layouts are items themselves, if they are in another item that is not a layout then they are likely anchored in there.

    But it wouldn't make sense to use anchors for elements that are direct children of a layout item, after all, positioning them is the very reason you have a layout as their parent.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    MarkoSan (8th September 2015)

Similar Threads

  1. Animating JS-bound anchors with behavior ?
    By Data42 in forum Qt Quick
    Replies: 0
    Last Post: 22nd January 2014, 19:42
  2. Replies: 10
    Last Post: 16th September 2013, 12:03
  3. Positioning problem, anchors not allowed
    By kornicameister in forum Qt Quick
    Replies: 0
    Last Post: 26th August 2011, 10:35
  4. QPlainTextEdit and anchors
    By bear101 in forum Qt Programming
    Replies: 2
    Last Post: 13th December 2009, 19:10
  5. Replies: 2
    Last Post: 5th September 2009, 12:23

Tags for this Thread

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.