Results 1 to 2 of 2

Thread: Mixing anchors and layouts - wise or not?

  1. #1
    Join Date
    Jan 2006
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    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
    Graz, Austria
    Thanked 1,546 Times in 1,496 Posts
    Qt products
    Qt3 Qt4 Qt5
    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.


  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, 18:42
  2. Replies: 10
    Last Post: 16th September 2013, 11:03
  3. Positioning problem, anchors not allowed
    By kornicameister in forum Qt Quick
    Replies: 0
    Last Post: 26th August 2011, 09:35
  4. QPlainTextEdit and anchors
    By bear101 in forum Qt Programming
    Replies: 2
    Last Post: 13th December 2009, 18:10
  5. Replies: 2
    Last Post: 5th September 2009, 11:23

Tags for this Thread


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.