I am using QSplitter to set a sliding menu on android, but I cannot hide the widget from left screen.
Tried using QSplitter::setSizes and setStretchFactor but nothing. Any help?
I am using QSplitter to set a sliding menu on android, but I cannot hide the widget from left screen.
Tried using QSplitter::setSizes and setStretchFactor but nothing. Any help?
Can you give a bit more substance on what you are seeing, what your code looks like and what you want to see?
Cheers,
_
So I want, when the application starts, the left widget to be hidden until the user drags the spliiter handle.
Last edited by adutzu89; 22nd May 2014 at 09:23.
I don't see where you cal setSizes() in there.
So I added one, using 0 for the first size, and, as expected, the left widget is collapsed.
Cheers,
_
adutzu89 (24th May 2014)
Can't remember what I've done wrong, but it works.......thank you.
Bookmarks