APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Arranging Panels in EJSS post and replies

Return to the Arranging Panels in EJSS thread
Login to post to this thread

How do you arrange panels in EJSS?
John Macuk
3 Posts

I am a ejss rookie, trying to arrange panels in particular places for the sim. According to the ejs wiki, there is a layout property, but I don't see how to implement it in the panel properties dialog box. Can anyone help out, or is only the tree structure available for panel layout in ejss?


Replies to How do you arrange panels in EJSS?

Re: How do you arrange panels in EJSS? -
Wolfgang
192 Posts

Panel layout in JavaScript is done using cascading style sheets.  See the EjsS examples in item 13363.

http://www.compadre.org/osp/items/detail.cfm?ID=13363



Re: Re: How do you arrange panels in EJSS? -
John Macuk
3 Posts

thanks! I will dive into this.



Re: How do you arrange panels in EJSS? -
Francisco Esquembre
237 Posts

John,

Layout is a property of container view elements in the JAVA FLAVOUR of EJS only. If you double click the element in the tree, you will see it in the properties dialog.

Paco

Post edited March 24, 2016 at 7:56 PM EST.



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book