Hi
I have a very simple layout. It is a QStackedWidget and inside this widget I display a QTreeView and below that a button, like this (the editor messes with the | on the right side so I removed them).
-------------------------
|
|
| QTreeView
|
|
|-----------------------|
| button
-------------------------
The problem is that there is a "margin" around the QTreeView i.e it does not go all the way out to the left, right and top, so it looks more like this:
-------------------------
||-----------------------
||
|| QTreeView
||-----------------------
|
|-----------------------|
| button
-------------------------
I just want the QTreeView to cover as much has possible of the screen. I have tried the CSS properties margin, border-width and padding but it did not make any difference, so I wonder:
How can I make the QTreeView go all the way out to the borders to maximize the screen utilization?
Thanks
Bookmarks