Re: Automatic resizing of a Container

Wolf Paulus <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
Frederic,
Please have a look at sample 5 "Fun with Layout Managers" for some 
ideas.

http://www.swixml.org/samples/

Here is a snippet of SwixML XUL that uses the <hbox> tag:

     <internalframe Title="Horizontal Box" Bounds="180,170,200,180" 
Visible="true" Resizable="true">
       <hbox border="TitledBorder(A Titled Border)">
         <button text="1"/>
         <button text="2"/>
         <button text="3"/>
         <glue/>
         <button text="4"/>
       </hbox>
     </internalframe>

--
Wolf Paulus
707.202.3937
[email protected]

C a r l s b a d  C u b e s
Dedicated to Excellence

CONFIDENTIALITY NOTICE:
This message is intended only for the use of the individual or entity 
to which it is addressed, and may contain information that is 
privileged, confidential and exempt from disclosure under applicable 
law. If you are not the intended recipient, please contact the sender 
by reply email and destroy all copies of the original message.
On Jun 2, 2004, at 6:32 AM, Frederic Gedin wrote:

> masukomi a écrit :
>
>> put those panels both within a panel and do border layout or flow  
>> layout in there...that would probably do it. I don't know that vbox 
>> is  even needed in what you're doing.
>
> I tried by replacing vbox and hbox tags with panels but did not 
> succeed.
>
>>
>>
>> what's with the <panel /> tags though?
>
> Just a hack to force the group composed of the video panel and the 
> control panel to be centered. Not evy clean I know but very handy as 
> the user interface is not completely defined yet.
>
> Regards
>
> Frederic
>
>
>
> _______________________________________________
> Forum mailing list
> [email protected]
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com

_______________________________________________
Forum mailing list
[email protected]
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.