Hi all, in my app I have a QTabWidget that conatins 6 windows. Each of these windows is a QListViews of icons (as I show on the image attached). I want to set the margins of each window because as you can see the listwidgets are nearly 'touching' the window and looks bad. I've tried obtaininig the layout of the list widgets with QWidget::layout() but it crashes. Another solution could be inserting the list widgets in a QFrame and setting the margins of the layout of this frame. The problem is that could be useful for me if everytime that I call to QTabWidget::widget(i) it returns directly a QListWidget * not a QFrame *. Anybody knows how could I do it?
Thanks.
Bookmarks