When QTableWidget cell content is wrapped, his font is shrinked. To avoid this behaviour, I tried this
Code:
tw->setStyleSheet("font-size: 90%;");
With no results. Any solution?
Printable View
When QTableWidget cell content is wrapped, his font is shrinked. To avoid this behaviour, I tried this
Code:
tw->setStyleSheet("font-size: 90%;");
With no results. Any solution?
Your screenshot does show any wrapped text. Do you mean that you would like it to wrap where it is currently elided (that is cut sho...)? If so you can look at setWordWrapped() on the view or use a custom delegate to format the cell items to your liking.