Box
21st August 2012, 17:06
Hi guys,
I'm trying to implement a QTableWidget inside a QTabWidget and everything looks just like I want it on both Windows and Linux, however, on OSX there seems to be a unnecessary amount of padding between the frame of the tab widget and the table widget and I'm not sure how to fix that.
Here's what I have on Windows/Linux:
http://i.imgur.com/ia2TL.png
As you see, the padding is equal on the two of them (9px).
Mac on the other hand has a much larger padding as you can see here:
http://i.imgur.com/Sbd9K.png
Is this something to do with the tabs not being on top like the other two? I tried using document mode which did make the padding smaller but it doesn't look great as it changes the colour scheme.
Any suggestions would be greatly appreciated!
I'm trying to implement a QTableWidget inside a QTabWidget and everything looks just like I want it on both Windows and Linux, however, on OSX there seems to be a unnecessary amount of padding between the frame of the tab widget and the table widget and I'm not sure how to fix that.
Here's what I have on Windows/Linux:
http://i.imgur.com/ia2TL.png
As you see, the padding is equal on the two of them (9px).
Mac on the other hand has a much larger padding as you can see here:
http://i.imgur.com/Sbd9K.png
Is this something to do with the tabs not being on top like the other two? I tried using document mode which did make the padding smaller but it doesn't look great as it changes the colour scheme.
Any suggestions would be greatly appreciated!