Hi!!!!

I have a table:

QTableWidget *table;

table = new QTableWidget;
table->setSelectionMode(QAbstractItemView::SingleSelecti on);
table->setSelectionBehavior(QAbstractItemView::SelectRow s);
table->setEditTriggers(QAbstractItemView::NoEditTriggers );
table->setColumnCount(2);
table->setHorizontalHeaderLabels(labels);
table->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch);
table->horizontalHeader()->resizeSection(1, 180);

But the table's columns always are static, for example if I insert a text bigger than cell's space it's showed cut!!!

What can I do for the table's columns can move and adjust to the text??

Thanks!!!