Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to get basic scrolling to work on non-touch device?

How to get basic scrolling to work on non-touch device?

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 3.0k 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.
  • U Offline
    U Offline
    unkulunkulu
    wrote on last edited by
    #1

    I can't seem to create a simple form using Qt Designer that would scroll using the phone's arrow keys. I'm using the Qt Simulator. Do I need to wrap the contents inside a ScrollArea? Should there be a layout inside the ScrollArea. Nothing I try seem to show the scrollbars at all.

    Can anyone give me a super-simple .ui file with a couple of form elements and get that to scroll on a non-touch device.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alexander
      wrote on last edited by
      #2

      Maybe it would be better to do some small forms instead one big?

      1 Reply Last reply
      0
      • U Offline
        U Offline
        unkulunkulu
        wrote on last edited by
        #3

        Thanks for the reply. I would paginate the form, but the problem is that one of the fields' height is something that the user can affect. So I would need to add support for scrolling anyway.

        I'm just confused as to how the scrolling is supposed to work. Apparently not automatically.

        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