If I have a label, how do I specify that I want the label width to be automatically adjusted based on the text I have set? In other words, I want all the text to be visible no matter how much text is there. Thanks.
If I have a label, how do I specify that I want the label width to be automatically adjusted based on the text I have set? In other words, I want all the text to be visible no matter how much text is there. Thanks.
You just need to use a layout.
Hi,
If I do not have a layout I call hide() and show(). Then the label adjusts its width depending on the new text length.
try to call adjustSize for that label.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks