PDA

View Full Version : issue about blank area appear



cherrydou
22nd May 2008, 06:38
the problem is :
there will be a blank area(just a flash) when QPushButton uses hide() method in a MainForm.

i wanna know the way how to let the blank doesn't show?

jpn
22nd May 2008, 09:06
the problem is :
there will be a blank area(just a flash) when QPushButton uses hide() method in a MainForm.

i wanna know the way how to let the blank doesn't show?
Could you rephrase, please?

cherrydou
22nd May 2008, 10:59
Could you rephrase, please?

Thanks very much for ur reading.
OK, let me give out more description, the situation is:
there are some buttons in the MainForm, and the numbers of these buttons will be changed if needed.
While the numbers of buttons change, there will leave a blank area in the button place which should be hided according to my demand(the blank problem appears just a flash then the backgroud return to normal).

if u have any doubt about my explanation pls tell me, thanks a lot in advance for ur answer and suggestion:(

jpn
22nd May 2008, 11:37
Are you using layouts?

cherrydou
23rd May 2008, 03:11
Are you using layouts?

Yes , using QHBoxLayout

jpn
23rd May 2008, 08:34
It's still not clear what's the problem and what do you want. Help us to help you. Could you show us screenshots or something? Maybe you want something like this: Expanding dialog?