I’m trying to use a panel as a side bar.

I’m trying to use a panel as a side bar. In this panel I have several bookmarks that take me to various locations in the panel. What I’m having trouble with is how to get the panel to reset to 0 (home position) on item select. Is there a script I can attach to the tap function?

]]>

2 Commentsto I’m trying to use a panel as a side bar.

  1. Anonymous says:

    < ![CDATA[

    I think I have the same problem on my home screen desktop sometimes. I have a script that moves the desktop, but sometimes pressing the back button doesn’t take me back to the origin. In that case I double tab (which zooms out in my configuration) and then press back and it gets zoomed back to the origin. Something weird with what container has focus I think.


    If you want to do it by script, getEvent().getContainer().setPosition(0,0); should do the trick.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *