'How can I change Text size
def show_winner():
rn = randint(1,10)
winner.setText(str(rn))
text.setText("Winner")
#How can i give size to (text)
Solution 1:[1]
f = texteditor1.font()
f.setPointSize(27) # sets the size to 27
texteditor1.setFont(f)
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 |
