I would like the text to auto-fit inside of the label. As the width of the QLabel gets more narrow the text formats to occupy multiple lines. Essentially I am looking for a way to format it the same way a html text is formatted when we resize the web browser window.
label=QtGui.QLabel()
text = "Somewhere over the rainbow Way up high And the dreams that you dreamed of Once in a lullaby"
label.setText(text)
label.show()