Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [SOLVED]webview and listview in a Flickable.
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]webview and listview in a Flickable.

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nesaver
    wrote on last edited by
    #1

    Hi,

    I want show a news detail and related news, when user scroll down to the end of the news detail (html content), the related news is showed. I used: a webview and a listview in a Flickable, and set:
    Flickable.ContentHeight = WebView.PreferredHeight + ListView.Height
    but when it show, i can't scroll down webview.

    Could you help me ? Thanks

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mohsen
      wrote on last edited by
      #2

      see RssNews example http://doc.qt.nokia.com/stable/demos-declarative-rssnews.html

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nesaver
        wrote on last edited by
        #3

        Hi Mohsen, In RssNews example, it's doesn't use webview.

        1 Reply Last reply
        0
        • N Offline
          N Offline
          nesaver
          wrote on last edited by
          #4

          I found it, use property binding:
          Flikcable..ContentHeight : WebView.PreferredHeight + ListView.Height
          and this problem's resolved

          Thanks everyone

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved