[Gambas-user] Cannot reduce windows size to modal windows
Benoît Minisini
gambas at ...1...
Wed Mar 24 06:25:07 CET 2010
> Ok, then it is a feature, thank you.
> I won't use this workaround, in fact I've never used it, I just discovered
> it before this email.
>
> I can read this:
> "If a resizable window is shown in modal mode, then its initial size
> becomes automatically its minimum size."
> here:
> http://gambasdoc.org/help/dev/guicomp/window
>
> Maybe this can be added to the showmodal documentation, aren't we? Or at
> least add a link to the explanation.
> http://gambasdoc.org/help/comp/gb.qt/window/showmodal
>
> Now, assuming that I have to adjust the initial Window's size, how is it
> better to do? To fix its size in the form editor view (despite some fields
> or contents be hidden, probably causing confusion)
Yes, this is the usual way.
> or programmatically with
> ME.Resize()?
You can do that too, but only *before* the Open event. For example inside the
constructor.
Regards,
--
Benoît Minisini
More information about the User
mailing list