Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Control Panel Editor Icon Scaling
#controlpaneleditor
Team, I have lots of icons on my panels. Typically I am able to scale them up/down with no problem. Just recently I went to an existing panel with an existing icon and changed the scaling from 80% to 60%. The actual % changed to some seamingly arbitrary # like 32. Surprised to see this, I went back to change it again and, no matter what % I enter, it keeps getting smaller.
?
I recently upgraded to v5.10 but I'm still using Java 11. Is this a new bug or related to using Java 11 with v5.10?
--
Many thanks in advance! Vinny DeRobertis ~ Apex, NC New York & Hudson Valley RR Windows 7 Pro / Java 11 / JMRI v5.10 Command Station: Digikeijs DR5000. Booster: Digikeijs DR5033 (4) Samsung A7 10.4" Tablets
Fully Kiosk/Engine Driver v2.37.187
DCC/DMX Gateway: Pricom LLS. LocoNet Input Modules: Digikeijs DR4088LN DCC Output Modules: Digikeijs DR4018 / Yamorc YD8116. Sensors: Model Train Technology: DETECTOR-HO. Turnout Motors: MTB MP1 |
This is a change in release 5.10. From the release note:
? The "Scale" operation on icons has been changed to a relative scaling from the current size. For example, if you've scaled an icon by 150% already, and request a rescaling by 200%, the icon will end up at 300%. Previously, this would work inconsistently. So for your example you started at 80%, scaled that by 60% and ended up at .8*.6 = 48%. To make things larger, use a number over 100%. The change was made because the prior approach was working inconsistently. In some cases it was an absolute scaling: Enter the ratio of the original size to what you want. But in others it was a relative scaling: Enter the ratio of the _previous_ size to what you want. That was confusing, and There Were Complaints. So the logic was changed to be (more) consistent, and the language around the scaling action was updated to (hopefully) be clearer. Labelling this is a little tough, because “scale” can be both a noun and a verb: Is the entry box showing the desired final _scale_, or the amount by which to _scale_ the existing object? If you find a place where that’s still not clear, let me know so I can improve it. (The Scale operation happens in so many places that some might have been missed when cleaning this up) Bob On Jan 10, 2025, at 7:06?PM, Vinny DeRobertis via groups.io <vinny.derobertis@...> wrote:— Bob Jacobsen rgj1927@... |
开云体育Vinny, Have you tried simply upgrading your existing Win 7 with the Azul Java 17? You may not need to upgrade the machine itself. Dick :) On 1/11/2025 9:39 AM, Vinny DeRobertis
via groups.io wrote:
|
Please go to
Azul probably has a version you can use. -- Peter Ulvestad Linux Mint 22, JMRI 5.12, Java 21.0.5 JMRI Users Group Moderator ( /g/jmriusers ) JMRI Developers Group Moderator ( ) Tam Valley Group Moderator ( ) Sprog-DCC Group Moderator ( ) Edmonton Model Railroad Association ( ) |
Vinny, Whatever Oracle says applies to ITS Java, not Azul's. Wouter On Sat, 11 Jan 2025 at 17:19, Vinny DeRobertis via <vinny.derobertis=[email protected]> wrote:
|
to navigate to use esc to dismiss