0

How can we change the size of a text if we are using QListWidgetItem reference for the operations? Any help would be appreciated.

user0042
  • 7,917
  • 3
  • 24
  • 39
Anon
  • 144
  • 1
  • 11

1 Answers1

3

Try this, use QListWidgetItem::font() method to get the current font for an item, then change its size (using setPointSize) and set the modified font to item using QListWidgetItem::setFont(const QFont&).

rafix07
  • 20,001
  • 3
  • 20
  • 33