bunjee
24th May 2007, 18:05
Hey guys,
I'm specifying a specific alignment in my layout :
mLayout.addWidget(&mBubbleWidget, 0, indexVertical, Qt::AlignLeft);
But I still want it to be stretchable by doing this :
mLayout.setColumnStretch(indexVertical, 10);
for some reason when setting alignment the child widget won't stretch.
Any possibility to keep the stretchable behaviour with the left align flag ?
Thanks.
Ben.
I'm specifying a specific alignment in my layout :
mLayout.addWidget(&mBubbleWidget, 0, indexVertical, Qt::AlignLeft);
But I still want it to be stretchable by doing this :
mLayout.setColumnStretch(indexVertical, 10);
for some reason when setting alignment the child widget won't stretch.
Any possibility to keep the stretchable behaviour with the left align flag ?
Thanks.
Ben.