Some layouts have a separator property.

For a HBox:
   myContainer.getLayout().setSeparator("separator-horizontal");
For a VBox:
   myContainer.getLayout().setSeparator("separator-vertical");
For a Dock
   myContainer.getLayout().setSeparatorX("separator-horizontal");
   myContainer.getLayout().setSeparatorY("separator-vertical");

HTH,
Matt

Miley wrote:
> Hi Alex,
> 
> I would like to place a seperator in a panel with HBox/VBox layout. I have a
> container with VBox layout and there are few textboxes inside this
> container. Now I want to place a horizontal line as seperator between these
> textboxes. Can you please give me ideas on how to create this horizontal
> line? Also i have to use this horizontal line in different panels as
> seperator in my application. So I think it would be best if i can create
> this horizontal line as a individual control and then use it in several
> panels.
> 
> Miley.
> 
> 
> Alexander Back wrote:
>> Hi,
>>
>> srilatha wrote:
>>> Hello Qooxdoo experts,
>>>
>>> I have few controls on a panel and i want to seperate them by placing a
>>> horizontal line between controls. I do not see any straightforward class
>>> for
>>> horizontal line. Let me know how to create a horizontal line control.
>> Existing separators are available for menus (qx.ui.menu.Separator) and 
>> toolbars (qx.ui.toolbar.Separator). You can also place separators 
>> between items inside a HBox/VBox layout.
>> What kind of "panel" do you use and what of "controls" do you place at 
>> the panel?
>>
>> cheers,
>>    Alex
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
> 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to