[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KDialogBase with QLayouts
From: "Dirk A. Mueller" <mueller () kde ! org>
Date: 1999-11-11 15:10:33
[Download RAW message or body]
On Mit, 10 Nov 1999, Espen Sand wrote:
> >why do you need to reimplement adjustSize() ?
> The dialog is not centered correctly if I don't do this. If the user do a
> "resize(<val>); show();" the dialog is centered. I want the class to work
> even if the user does not do a resize() first. The class should be simple to
> use.
Okay, but why do you fix the symptoms and not the cause ? :-)
Although IMHO I didn't see that behaviour myself yet, I'm willing to help
debugging it.
> This can be a WM issue
I think, too.
> >Why is setMinimumSize(mUserWidget->minimumSizeHint() ) not enough?
> If one do a setMinimumSize() on a derived KDialogClass class,
No, not in the derived class, in KDialogBase itself!
Dirk
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic