×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Restrict QML listview scrolling

    hi

    I am using a listview in a QML script it works fine except when i scroll elements while scrolling they exceed the listview limits (x,y,height,width) and scrolling takes place from top of the screen till the bottom , but when i add items they do not exceed the listview limits , how to restrict the scrolling of listview in the limits ?

    Help appreciated

    Thanks
    Vishal

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Restrict QML listview scrolling

    ListView is restricted to vertical by default.

    Check the orientation property : ListView Orientation

    regards,

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Restrict QML listview scrolling

    vishal your question is not clear to me completely but with some assumptions i think you need to check the clip property of the listview. Otherwise please explain the question in some other way.

  4. #4
    Registered User
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: Restrict QML listview scrolling

    ha ha excelent Gargi clip did the trick u understood actually .. lol
    Thanks
    Vishal

Similar Threads

  1. ListView in QML
    By Siddharth5 in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-10-15, 15:19
  2. ListView scrolling problem
    By Habolog in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-10-14, 13:26
  3. listview with checkbox
    By csy19861111 in forum [Archived] Qt General ( Qt技术)
    Replies: 2
    Last Post: 2011-06-15, 02:18
  4. How to define a vertical scrolling offset in a listView?
    By evgeny_123 in forum [Archived] Qt Quick
    Replies: 8
    Last Post: 2011-02-25, 15:21
  5. Customize Listview in Qt
    By shank_19 in forum Qt
    Replies: 2
    Last Post: 2010-10-14, 03:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×