Is it possible to have a panel slide half way over another panel?

edited February 2014 in Newbie Questions
I am trying to create a burger/staple style menu in Enyo where I have one panel that holds the content and another that holds my menu to the left. When the user presses a button I want the menu on the left to slide in over the content but only half way.

At the minute the panel always takes up 100% of the width and thus covers all my content panel, when I only want to cover half of it. I am using a CollapsingArranger with one App.js panel and then adding the panels to that one main panel.

I have tried width 50% and z indexes but I cannot get it to work. Is Panels the best approach for this? Is there a good example of this behaviour available as an example?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!