Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] scrollArea is not working on Mac
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] scrollArea is not working on Mac

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 2.3k 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.
  • I Offline
    I Offline
    igorland
    wrote on last edited by
    #1

    Hello.

    Using QtCreator, I put a scrollArea inside a centralWidget, and then I put a stackedWidget inside the scrollArea, so that whenever a window is reduced the scroll bars appear. It works fine in Windows, but on Mac, with the same parameters, there are no scroll bars. Is there anything that I am missing in OSX?

    Thanks a lot!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you mean the scroll bars are not visible or they don't work ? If it's about visibility, that's normal depending on your version of OS X. Scrollbars should appear as needed e.g. when you are scrolling using the mouse wheel

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • I Offline
        I Offline
        igorland
        wrote on last edited by
        #3

        Hello, SGaist. They are neither visible nor working. I even tried to use "ScrollBarAlwaysOn". Still, no scroll bars and nothing happens when I scroll with a mouse. Can it be a bug in the Mac version?

        Thanks

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you post a minimal example that shows the problem ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • I Offline
            I Offline
            igorland
            wrote on last edited by
            #5

            Will do when I am back home. Thanks

            1 Reply Last reply
            0
            • I Offline
              I Offline
              igorland
              wrote on last edited by
              #6

              OK. This is how my test project looks like in QtCreator.

              https://www.dropbox.com/s/nxbhwliege3ag0w/shot1.png

              This is the compiled version minimized in size. I should have both vertical and horizontal scroll bars but I do not have them.

              https://www.dropbox.com/s/cv9n2980s8hizpk/shot2.png

              Thanks.

              1 Reply Last reply
              0
              • I Offline
                I Offline
                igorland
                wrote on last edited by
                #7

                Found it! WidgetResizeable was checked. When I unchecked it, the scroll bars are back in place. Thanks!

                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