'Bold font in Label with setBold method
Can't make Bold font for label. What is wrong with my code?
self.label = QtGui.QLabel('Bla', self)
self.label.setFont(QtGui.QFont.setBold(True))
Solution 1:[1]
self.label.setStyleSheet("font-weight: bold")
easier I believe
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Darius |
