Maybe this will fix your Problem? [WIKI]Expanding_dialog[/WIKI]
Maybe this will fix your Problem? [WIKI]Expanding_dialog[/WIKI]
Nish, I take back my words. I was checking you suggestion with the debugger, and the debugger was fooling me. Don't know what's going on here, but if I use the debugger to check the button width, I get the standard button size (and I don't get to see the full text on the button) and if I trace the data and run it without the debugger I get the correct size. So, checking the width in the showEvent actually works (but is ofcourse a horrible solution but I guess I have no other choice).
Bookmarks