Results 1 to 8 of 8

Thread: Flickable some items

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2014
    Posts
    33
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Flickable some items

    I've put it on the content Item and works. Thank you very much!!

    One question about Row. My problem with Row is that I can't give different spacing between items, is it correct?

    Imagine that I've a Text (1), a TextInput (2), a Text (3) and a TextInput (4). I would like 5 pixels spacing from (1) to (2) and from (3) to (4), but from (2) to (3) 30 pixels:

    (1)
    ... 5 pixels
    (2)
    ... 30 pixels
    (3)
    ... 5 pixels
    (4)

    Is it possible to achive that with a Row?
    Last edited by lqsa; 28th August 2015 at 20:10.

  2. #2
    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: Flickable some items

    Ah, yes, in this case anchoring might be more straight forward.

    With a row you would need to add "spacer" items, e.g. Item with a height that has the desired spacing value.

    Cheers,
    _

Similar Threads

  1. Problem using Flickable in QML?
    By tanthinh1510 in forum Qt Quick
    Replies: 2
    Last Post: 15th May 2015, 07:08
  2. Flickable mouse dragging not working
    By pconfig in forum Qt Quick
    Replies: 0
    Last Post: 14th March 2015, 13:06
  3. mousearea outside flickable not working
    By joko in forum Qt Quick
    Replies: 3
    Last Post: 15th December 2014, 16:36
  4. Flickable and mouse signal propagation
    By clousque in forum Qt Quick
    Replies: 7
    Last Post: 25th August 2014, 12:16
  5. Replies: 0
    Last Post: 16th September 2012, 10:28

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