Ah, I think I got an idea from the docs.
Apparently, one cannot modify the layout of a widget after it has been set
as a QScrollArea content. Damned... this prevents me from dynamically
changing the content of the dock without recreating everything at each
update
Etienne
void QScrollArea::setWidg
Tried, with no success.
Surprisingly, if I directly set my QWidget as the QDockWidget content, it
works.
But if I put a QScrollArea as the QDockWidget content, and my QWidget as
QScrollArea content, it does not work.
Something is wrong with the QScrollArea
Etienne
2013/3/19 preeteesh kakkar
>
Try calling gridlayout->update() and see if that helps?
On Tue, Mar 19, 2013 at 9:28 AM, Etienne Sandré-Chardonnal <
etienne.san...@m4x.org> wrote:
> Dear all,
>
> I am encountering the following issue using QGridLayout in a widget.
>
> The QGridLayout is currently used for displaying labels alon
Dear all,
I am encountering the following issue using QGridLayout in a widget.
The QGridLayout is currently used for displaying labels along a grid with
two columns, in a subclassed QWidget. This QWidget was set as the widget of
a QSCrollArea, the QScrollArea is the content of a QDockWidget.
1)