Miley wrote:
> I do not want to add this horizontal line after every child item in VBox
> layout. If i add seperator to the VBox layout, i think it adds after every
> child item right?

I'm afraid that's correct.

>  How can i have control on adding horizontal line after few
> child items in VBox layout? Or if there is a way of generating this
> horizontal line seperator as a different custom control,  then it fits in my
> application better. If I have it as a individual control, then i can add it
> to any layout as required.
>   

Have you considered creating a qx.ui.basic.Image with a simple image 
(like a colored dot) that you can stretch to become a "separator"?! You 
could easily add this to your VBox. Or just use a qx.ui.core.Widget with 
a suitable background color and a single pix height?!

Thomas

> Please shed some light here.
>
> Miley.
>
>
> Noggin182 wrote:
>   
>> 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
>>
>>
>>     
>
>   

------------------------------------------------------------------------------
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