PDA

View Full Version : Qt StyleSheet positioning



AlexCoder
1st March 2012, 14:57
Can I handle control position via Qt StyleSheet
something like that:


...
QPushButton#pushButton {
position: absolute;
background-color: rgb(89, 77, 255);
top: 200px;
left: 200px;
}
...

high_flyer
2nd March 2012, 12:23
my understanding is that the 'position' property is for sub controls not actual "widgets". (like the down arrow of a combobox)