You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Todd Volkert <tv...@gmail.com> on 2009/11/19 17:33:30 UTC
Setting the native frame's size [Was: Re: How To Specify Location of
Image in wtkx file]
Hi Bob:
If you're asking what I think you're asking, you may find the following
thread informative:
http://www.mail-archive.com/pivot-user@incubator.apache.org/msg00487.html
Make sure to check out all the responses to the thread, as there's a few
different answers in there :)
-T
On Thu, Nov 19, 2009 at 10:52 AM, Bob Santos <bo...@gmail.com> wrote:
> Hi All!
>
> How are you doing?
>
> Got a question, I tried changing the size of the Window object but still
> the main container's size remains unchanged. How can I change its size like
> simply calling pack() or setSize(100,100) in JFrame?
>
>
> On Wed, Nov 18, 2009 at 2:49 AM, Bob Santos <bo...@gmail.com>wrote:
>
>> Oh, ok then, I just subscribed to the Apache mailing list.
>>
>> Good luck on the votes and I hope you graduate.
>>
>>
>> Thanks,
>>
>> Bob
>>
>>
>> On Wed, Nov 18, 2009 at 2:43 AM, Greg Brown <gk...@mac.com> wrote:
>>
>>> Oddly enough, a graduation vote was just started:
>>>>
>>>>
>>>> http://mail-archives.apache.org/mod_mbox/incubator-general/200911.mbox/%3c168ef9ac0911170947w43bbe003p997fdb97542c7988@mail.gmail.com%3e<http://mail-archives.apache.org/mod_mbox/incubator-general/200911.mbox/%3C168ef9ac0911170947w43bbe003p997fdb97542c7988@mail.gmail.com%3E>
>>>>
>>>
>>> Is this voting internal to apache?
>>>
>>>
>>> Well, sort of. Anyone can subscribe to the mailing list and vote, but
>>> only Incubator PMC member votes are considered binding.
>>>
>>>
>>
>
Re: Setting the native frame's size [Was: Re: How To Specify Location
of Image in wtkx file]
Posted by Bob Santos <bo...@gmail.com>.
Hi Todd!
Oh, nice, I'll checkout the trunk later. Thanks for the heads up!
Regards,
Bob
On Sun, Nov 22, 2009 at 1:02 AM, Todd Volkert <tv...@gmail.com> wrote:
> Hi Bob,
>
> If you're working off the trunk (as opposed to a released version), Greg
> just added a new method that might be relevant here:
> DesktopApplicationContext.sizeToFit(Window). From the desktop, this will
> effectively pack the native frame such that it fits the preferred size of
> the specified window.
>
> -T
>
>
> On Thu, Nov 19, 2009 at 11:33 AM, Todd Volkert <tv...@gmail.com> wrote:
>
>> Hi Bob:
>>
>> If you're asking what I think you're asking, you may find the following
>> thread informative:
>> http://www.mail-archive.com/pivot-user@incubator.apache.org/msg00487.html
>>
>> Make sure to check out all the responses to the thread, as there's a few
>> different answers in there :)
>>
>> -T
>>
>> On Thu, Nov 19, 2009 at 10:52 AM, Bob Santos <bo...@gmail.com>wrote:
>>
>>> Hi All!
>>>
>>> How are you doing?
>>>
>>> Got a question, I tried changing the size of the Window object but still
>>> the main container's size remains unchanged. How can I change its size like
>>> simply calling pack() or setSize(100,100) in JFrame?
>>>
>>>
>>> On Wed, Nov 18, 2009 at 2:49 AM, Bob Santos <bo...@gmail.com>wrote:
>>>
>>>> Oh, ok then, I just subscribed to the Apache mailing list.
>>>>
>>>> Good luck on the votes and I hope you graduate.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Bob
>>>>
>>>>
>>>> On Wed, Nov 18, 2009 at 2:43 AM, Greg Brown <gk...@mac.com> wrote:
>>>>
>>>>> Oddly enough, a graduation vote was just started:
>>>>>>
>>>>>>
>>>>>> http://mail-archives.apache.org/mod_mbox/incubator-general/200911.mbox/%3c168ef9ac0911170947w43bbe003p997fdb97542c7988@mail.gmail.com%3e<http://mail-archives.apache.org/mod_mbox/incubator-general/200911.mbox/%3C168ef9ac0911170947w43bbe003p997fdb97542c7988@mail.gmail.com%3E>
>>>>>>
>>>>>
>>>>> Is this voting internal to apache?
>>>>>
>>>>>
>>>>> Well, sort of. Anyone can subscribe to the mailing list and vote, but
>>>>> only Incubator PMC member votes are considered binding.
>>>>>
>>>>>
>>>>
>>>
>>
>
Re: Setting the native frame's size [Was: Re: How To Specify Location
of Image in wtkx file]
Posted by Todd Volkert <tv...@gmail.com>.
Hi Bob,
If you're working off the trunk (as opposed to a released version), Greg
just added a new method that might be relevant here:
DesktopApplicationContext.sizeToFit(Window). From the desktop, this will
effectively pack the native frame such that it fits the preferred size of
the specified window.
-T
On Thu, Nov 19, 2009 at 11:33 AM, Todd Volkert <tv...@gmail.com> wrote:
> Hi Bob:
>
> If you're asking what I think you're asking, you may find the following
> thread informative:
> http://www.mail-archive.com/pivot-user@incubator.apache.org/msg00487.html
>
> Make sure to check out all the responses to the thread, as there's a few
> different answers in there :)
>
> -T
>
> On Thu, Nov 19, 2009 at 10:52 AM, Bob Santos <bo...@gmail.com>wrote:
>
>> Hi All!
>>
>> How are you doing?
>>
>> Got a question, I tried changing the size of the Window object but still
>> the main container's size remains unchanged. How can I change its size like
>> simply calling pack() or setSize(100,100) in JFrame?
>>
>>
>> On Wed, Nov 18, 2009 at 2:49 AM, Bob Santos <bo...@gmail.com>wrote:
>>
>>> Oh, ok then, I just subscribed to the Apache mailing list.
>>>
>>> Good luck on the votes and I hope you graduate.
>>>
>>>
>>> Thanks,
>>>
>>> Bob
>>>
>>>
>>> On Wed, Nov 18, 2009 at 2:43 AM, Greg Brown <gk...@mac.com> wrote:
>>>
>>>> Oddly enough, a graduation vote was just started:
>>>>>
>>>>>
>>>>> http://mail-archives.apache.org/mod_mbox/incubator-general/200911.mbox/%3c168ef9ac0911170947w43bbe003p997fdb97542c7988@mail.gmail.com%3e<http://mail-archives.apache.org/mod_mbox/incubator-general/200911.mbox/%3C168ef9ac0911170947w43bbe003p997fdb97542c7988@mail.gmail.com%3E>
>>>>>
>>>>
>>>> Is this voting internal to apache?
>>>>
>>>>
>>>> Well, sort of. Anyone can subscribe to the mailing list and vote, but
>>>> only Incubator PMC member votes are considered binding.
>>>>
>>>>
>>>
>>
>