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. Prevent ScrollView from scrolling horizontally?
Forum Updated to NodeBB v4.3 + New Features

Prevent ScrollView from scrolling horizontally?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 1.0k Views 2 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.
  • T Offline
    T Offline
    Tom_H
    wrote on last edited by
    #1

    Hello. Is there a way to prevent ScrollView from scrolling horizontally? I have ScrollBar.horizontal.interactive: false but it doesn't seem to do anything. Thanks.

    T 1 Reply Last reply
    0
    • T Tom_H

      Hello. Is there a way to prevent ScrollView from scrolling horizontally? I have ScrollBar.horizontal.interactive: false but it doesn't seem to do anything. Thanks.

      T Offline
      T Offline
      Tom_H
      wrote on last edited by Tom_H
      #2

      The answer was to replace the ScrollView with a Flickable and a vertical ScrollBar.

      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