In this article we will see how we can check if label is multi-line or not, when we create a label and set text to it and if the text length is greater then the length of the label extra text did not show, multi line label make that extra text go into the other line. Below is the the representation of how normal and multi line label looks like
In order to check if label is multi line or not we use
Syntax : label.ordwWrap()
Argument : It 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