Qt 6.11 is out! See what's new in the release
blog
How to use scroll bar inside a DockWidget [Solved]
General and Desktop
4
Posts
2
Posters
3.4k
Views
1
Watching
-
I have a dock widget with a text inside it and some buttons, which are in bigger size from my screen size (vertically), so they are cut off. I want a scroll bar to appear, if they are cut off like the behavioral of ScrollBarAsNeeded.
I have tried to put all of my text and buttons inside a a Scroll Area which I put inside the DockWidget, and then I set the Scroll Area to ScrollBarAsNeeded, but I get zero changes (even if I put the scroll bar as always on).Thanks all
-
Has been solved by putting all the items inside the scroll area inside a layout.
Nevertheless Thanks!