Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
6.4.3
-
None
Description
In QtCreator (11.0.3 ), I placed a QTableWidget, and set stylesheet (thru QtCreator interface) as follows;
{{QTableView
QTableView::item
}}
Formatting are are taking effect; but row size is not increasing to accommodate text.
But if the same is done thru code, (ui->tablewidget->SetStylesheet(...)), row size is increasing.
What I had to do to retain stylesheet done in Qt Creator is to add a line as following in code;
ui->tablewidget->setStyleSheet(ui->tablewidget->styleSheet());
This fixes the issue. Sample image is added; first image without the line in code.