You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by chenmgm <ch...@gmail.com> on 2013/11/24 05:41:24 UTC

I seem to find no separator for menu items in Pivot

hello~~guys~~

I seem to find no separator for menu items in Pivot

and i want to make UI like this

<http://apache-pivot-users.399431.n3.nabble.com/file/n4022795/QQ%E6%88%AA%E5%9B%BE20131124123343.jpg> 

is there any suggestion?




--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/I-seem-to-find-no-separator-for-menu-items-in-Pivot-tp4022795.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: I seem to find no separator for menu items in Pivot

Posted by chenmgm <ch...@gmail.com>.
Thank you~~

I got it



--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/I-seem-to-find-no-separator-for-menu-items-in-Pivot-tp4022795p4022798.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: I seem to find no separator for menu items in Pivot

Posted by Roger and Beth Whitcomb <Ro...@rbwhitcomb.com>.
You can see this in the "Kitchen Sink" demo here: 
http://pivot.apache.org/demos/kitchen-sink.html

~Roger

On 11/24/13 4:42 PM, Roger and Beth Whitcomb wrote:
> Hello,
>     If you put the menu items inside separate Menu.Section objects, 
> then add the sections to the Menu object via:
> menu.getSections().add(menuSection);
>     Then you will get separators as you desire...
>
> Thanks for using Pivot,
> ~Roger
>
> On 11/23/13 8:41 PM, chenmgm wrote:
>> hello~~guys~~
>>
>> I seem to find no separator for menu items in Pivot
>>
>> and i want to make UI like this
>>
>> <http://apache-pivot-users.399431.n3.nabble.com/file/n4022795/QQ%E6%88%AA%E5%9B%BE20131124123343.jpg> 
>>
>>
>> is there any suggestion?
>>
>>
>>
>>
>> -- 
>> View this message in context: 
>> http://apache-pivot-users.399431.n3.nabble.com/I-seem-to-find-no-separator-for-menu-items-in-Pivot-tp4022795.html
>> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>>
>>
>


Re: I seem to find no separator for menu items in Pivot

Posted by Roger and Beth Whitcomb <Ro...@rbwhitcomb.com>.
Hello,
     If you put the menu items inside separate Menu.Section objects, 
then add the sections to the Menu object via:
menu.getSections().add(menuSection);
     Then you will get separators as you desire...

Thanks for using Pivot,
~Roger

On 11/23/13 8:41 PM, chenmgm wrote:
> hello~~guys~~
>
> I seem to find no separator for menu items in Pivot
>
> and i want to make UI like this
>
> <http://apache-pivot-users.399431.n3.nabble.com/file/n4022795/QQ%E6%88%AA%E5%9B%BE20131124123343.jpg>
>
> is there any suggestion?
>
>
>
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/I-seem-to-find-no-separator-for-menu-items-in-Pivot-tp4022795.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>
>