Steven,
toggle quoted message
Show quoted text
I am not a developer, but the multi sensor icon was designed to be activated by clicking it either up-down or right-left. As such, I don't believe it is possible to rotate them, say 45 degrees. I believe you still will have to touch the proper half of the icon area. of course, you can rotate the displayed image however you desire. I did create some wide three position lever icons which just have a wider transparent area to click for the lever action. You can find them in the resources/icons/USS/plate/levers directory. You can see the difference in the original and wide versions on this web page: For example, compare l-left.gif and lever-left-wide.gif They will look alike on the panel but the wide version is much easier to activate with a mouse click or on my touch screen CTC panel. Bob Bucklew ----- Original Message -----
From: stevelton17@... To: "jmriusers" <[email protected]> Sent: Tuesday, November 27, 2018 9:06:08 PM Subject: [jmriusers] Multisensor Icon Rotation in CPE Building a new panel in CPE, using the latest version of JMRI. I'm drawing my own graphics to link with multisensor icons and placing them on the control panel editor window to create my dispatcher screen. I rotated a few of these graphics and saved the xml file so I could work on another project. When I came back and restarted JMRI, it would not load my xml file. The reason given was "attribute 'degrees' is not allowed for multisensoricon". I ran the script to turn off xml validation so I could at least open my file. I thought at the very least I could reset those affected icons back to zero degrees, but that didn't have any affect. The only thing that will let me open the file with validation was to completely remove the icons which had been rotated. I need to be able to keep working, so in the mean time I will draw separate icons with the needed rotation already drawn in to the graphic. But wondering if this has been mentioned, if it is even a bug, or if rotating multisensors was never planned into JMRI? Thanks Steven |