castors33
14th June 2011, 18:19
Hi,
I have a dock that contains 7 QPushButton, I want them to be a little more near the top. So, I'm trying to put a spacer with the simple fonction layout.addSpacing(30) to "push" the buttons up, whatever the real number. But, it puts space under AND above...I can have space only on the top, but not the bottom...
Any tip??
Thanks!!
I have a dock that contains 7 QPushButton, I want them to be a little more near the top. So, I'm trying to put a spacer with the simple fonction layout.addSpacing(30) to "push" the buttons up, whatever the real number. But, it puts space under AND above...I can have space only on the top, but not the bottom...
Any tip??
Thanks!!