You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by SYSE | Edvin <es...@syse.no> on 2011/07/14 15:33:31 UTC
Center Window or Frame over it's parent
Is there a built in mechanism for this? Now I use code I found in
TerraDialogSkin#windowOpened() to manually center my window after it has
been opened.
-- Edvin
Re: Center Window or Frame over it's parent
Posted by Greg Brown <gk...@verizon.net>.
:-)
On Jul 14, 2011, at 10:14 AM, SYSE | Edvin wrote:
> Den 14.07.2011 15:51, skrev Greg Brown:
>> Depends on what you mean by "built-in". As you noted, Dialogs handle this automatically. Any reason you can't use a Dialog in your application?
>
> Hehe.. no, none at all :) Switched :)
>
> -- Edvin
Re: Center Window or Frame over it's parent
Posted by SYSE | Edvin <es...@syse.no>.
Den 14.07.2011 15:51, skrev Greg Brown:
> Depends on what you mean by "built-in". As you noted, Dialogs handle this automatically. Any reason you can't use a Dialog in your application?
Hehe.. no, none at all :) Switched :)
-- Edvin
Re: Center Window or Frame over it's parent
Posted by Greg Brown <gk...@verizon.net>.
Depends on what you mean by "built-in". As you noted, Dialogs handle this automatically. Any reason you can't use a Dialog in your application?
On Jul 14, 2011, at 9:33 AM, SYSE | Edvin wrote:
> Is there a built in mechanism for this? Now I use code I found in TerraDialogSkin#windowOpened() to manually center my window after it has been opened.
>
> -- Edvin