Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
4.7.4, 5.1.0 Beta 1, 5.5.0 RC
-
Windows 7 with the default (Aero) theme
-
5133a1b77c059e32760f3d288c985183d86da4a
Description
Example code:
QApplication app(argc, argv); QDialog* dialog = new QDialog; dialog->setStyleSheet("font-weight: normal;"); QTableWidget* table = new QTableWidget(dialog); table->setRowCount(1); table->setColumnCount(1); table->setItem(0, 0, new QTableWidgetItem("abcdefg")); dialog->show(); return app.exec();
Resize the column so that the "abcdefg" gets elided/non-elided, and when that happens, the font changes. I don't know if this applies to other platforms, but it occurs for me on Windows 7 (with the default theme). See attached screenshot for clarification.
Attachments
Issue Links
- duplicates
-
QTBUG-34133 Modifying a font in style delegate doesn't work when text is elided
-
- Closed
-
-
QTBUG-56759 Wrong font rendering of elided texts in view widgets
-
- Closed
-
- relates to
-
QTBUG-29232 Font size change when resize QTreeView/QTreeWidget with stylesheet on QApplication
-
- Closed
-