Unsolved Cannot get small size of QListWidget
-
I cannot make QListWidget smaller than shown. I want to make it resizable up to 0 pixels so it can be "collapsed".
-
Hi
That is kinda odd as i can make it like 15 pixels.However, you can use setMaximumHeight to force it any size.
-
Hi,
Since you want to collapse it, maybe QSplitter would be of interest.
-
@SGaist Well, I want to collapse it by window's border
-
Did you set its minimum size to 0 ?
-
Actually a clean GUI project with the widget only allows 73 as minimum.
Im not sure where this constrain comes from.
-
Good question, I also wonder whether it's Designer specific.
-
@SGaist
well, it keeps this limit when run
I was first thinking it must be due to QMainWindow but it's then odd same limits
design and run-time considering in Designer, the MainWindow is not in effect as such.one can force it ith setMaximumHeight but It's a puzzle for me
what actually sets this.