开云体育

Locked Re: 1.0.3 control panel


Robin Becker
 

Bob,

1. When I create a new control panel and add icons, nothing is visible on
the panel until I resize it. After I resize the panel
everything is there.
I tried different X and Y values and it didn't matter.
Does the panel start minimized (nothing by header)? Or is it
bigger than that.
It isn't minimized. Seems to be about 150x150. Resizing one time (small or
larger both work) fixes the problem.


3. When I add a _left_ turnout to the drawing, the initial icon
displayed is
a _right_ turnout in unknown state. Once I click on the turnout
it becomes
a closed _left_ turnout.
This is a bug; I seem to have lost the file for one of the "unknown"
turnouts. Will fix.

3a. When I save and then load the panel, all the turnouts are
right turnouts
in unknown state. I can click on each one and change it to
closed, however
only one will allow me to toggle it between closed and thrown.
I think that's the same thing. There's a missing file, and code gets
confused trying to cope.
Well I created two missing upper-left files, unknown and error, and made a
new panel. Same problem. However, if I manually edit the panel file and
make the changes (upper-left and thrown where appropriate), then it displays
correctly.


But I recommend you switch to JmriDemo for playing with these panels.
That's because it's configuration file (and input menu) has a
"LocoNet Hexfile" option that starts a debugging "layout simulator"
instead of a real layout connection. Select this, quit and restart,
and I think that your sensors should be animated.
When I set it to LocoNet Hexfile the sensor change state as expected.

Robin

Join [email protected] to automatically receive all group messages.