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
Locked
Text in labels on Layout Editor panel: not all characters appearing
#layouteditor
Java 11, JMRI V 5.8, Windows 11
?
Gentlemen and any Ladies,
I have noticed the above problem and can't figure how to rectify it. An example of what is happening is as follows:
?
"Gravel Indus..." instead of "Gravel Industry", "P.." instead of "P 5" and so on.
?
When I edit the label In anyway, add a space at the end for example, the full label appears for the rest of the session. I save the file before exit, but Next time I open the panel file the problem remains.
?
Thoughts?
? Ed Nowicki |
On 11/7/2024 10:19 AM, enowicki@... wrote:
Java 11, JMRI V 5.8, Windows 11I too have this problem. It _seems_ to be related to my computer's EXTREMELY high "dots per inch" display, and how I have set _Winwows_ to "175%" scaling of the display to actually see the JMRI text. If I use 100% scaling, I seem to have complete text, but it is too small to read. I use AZUL Java 11, which could relate to the problem, but I have not tried another JAVA type/version. I have found some cheats, which sometimes work, but not other times. I seem to find that some text sizes work better than others. JMRI defaults to a 11 "point" font. But I find that 12 point font text does not get shortened. But 14 point fonts tend to be problematic... If you find a better solution, I would like to know it. Regards, Billybob |
Billybob,
toggle quoted message
Show quoted text
Try looking at the "Force 100% scaling when the OS uses higher scaling" option at "Preferences -> Display". Dave Sand ----- Original message -----
From: "billybob experimenter via groups.io" <jawhugrps@...> To: [email protected] Subject: Re: [jmriusers] Text in labels on Layout Editor panel: not all characters appearing Date: Thursday, November 07, 2024 10:15 AM On 11/7/2024 10:19 AM, enowicki@... wrote: Java 11, JMRI V 5.8, Windows 11I too have this problem. It _seems_ to be related to my computer's EXTREMELY high "dots per inch" display, and how I have set _Winwows_ to "175%" scaling of the display to actually see the JMRI text. If I use 100% scaling, I seem to have complete text, but it is too small to read. I use AZUL Java 11, which could relate to the problem, but I have not tried another JAVA type/version. I have found some cheats, which sometimes work, but not other times. I seem to find that some text sizes work better than others. JMRI defaults to a 11 "point" font. But I find that 12 point font text does not get shortened. But 14 point fonts tend to be problematic... If you find a better solution, I would like to know it. Regards, Billybob |
Ed.?
?
The workaround (AKA Cheat) that our club has used for years is to append a trailing blank character to each text entry.? Thus, for your examples:
?
"Gravel Industry " and "P 5? "?
?
Please don't ask why I know this or why it works.
?
If a large number of text entries need "fixing," then it becomes less cumbersome to manage with the use of a good text editor on the xml file.? Notepad++ is a favorite for several friends and for me but there are numerous choices recommended at if you have to go down that path.? All of the safe editing practices still apply, including: backup your files early and often.
?
Do not attempt to edit an xml file with any word processor.??
?
Cliff in Baja SoCal
?
? |
I've seen some of this and it seems the choice of font and
justification has an impact on this. In a number of panels I got used to setting left or right justify, but then pad the other end of the string with a couple of spaces. Then it looks fine. I've never had the time to look into it. Maybe others might have better ideas. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com |
to navigate to use esc to dismiss