Welcome Guest Search | Active Topics | Sign In | Register

SlideMenu height Options
Ellery Gomez
Posted: Monday, September 28, 2009 3:57:13 PM
Rank: Member
Groups: Member

Joined: 8/4/2009
Posts: 16
Hi, I'm using this control on the left side, like Outlook style menu, I have 5 menus each with a different number of submenus, and I want no matter the number of submenus, the object always have the same height, how can I accomplish this? because the Slide menu resize itself depending on the number of the submenu items.

Thanks in advance and regards
eo_support
Posted: Monday, September 28, 2009 4:20:32 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can either set the slide menu's SlidePaneHeight to a large value, so that it always have enough room for all the sub items; Or set the slide menu's EnableScrolling to true, so that when the menu does not have enough room, it will display two scroll items at the top/bottom of the sub menu and allow you to scroll. You will also need to set the sub menu's Height property to use this feature. Here is a working example:

http://demo.essentialobjects.com/Default.aspx?path=Menu\_i1\_i2

The sample is a Menu, not a SlideMenu, but all the properties are the same.

Thanks!
Ellery Gomez
Posted: Monday, September 28, 2009 5:05:26 PM
Rank: Member
Groups: Member

Joined: 8/4/2009
Posts: 16
Thank you very much, that was exactly what I was looking for.

Regards


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.