update resize when changing button’s title
Hi all,
I defined a frame in which i i have inserted,by the way of the Qt designer, an Horizontal layout. It contains some radio buttons.
In the constructor of the class frame, after the setupui, i change the text of the buttons but the width of the buttons remains the same than before the settext. I tried to force them using the update method on the radiobuttons but with no effect. I tried to use different properties for the horizontal sizePolicy but with no effect….
Could someone explain me how the resize works and how to make my case working ?
Thank you very much by advance.
Best regards!
3 replies
You must log in to post a reply. Not a member yet? Register here!
