In this article we will see how we can check if the kerning of spin box text is enabled or disabled. In typography, kerning is the process of adjusting the spacing between characters in a proportional font, usually to achieve a visually pleasing result. Kerning adjusts the space between individual letter forms, while tracking adjusts spacing uniformly over a range of characters. By default this property is True although we can change this using
setKerning method with the QFont object of the spin box.
In order to do this we use
kerning method with the QFont object of the spin box
Syntax : font.kerning()
Argument : It takes no argument
Return : It returns bool
Below is the implementation
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course