Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] scrollArea is not working on Mac
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!
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
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?
Can you post a minimal example that shows the problem ?
Will do when I am back home. Thanks
OK. This is how my test project looks like in QtCreator.
This is the compiled version minimized in size. I should have both vertical and horizontal scroll bars but I do not have them.
Found it! WidgetResizeable was checked. When I unchecked it, the scroll bars are back in place. Thanks!