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
Text labels appears only partially
#labels
Hi,
?
when creating a layout in PanelPro, text label appear partially only.
?
example : if i put "Module 14" i only see "Module..."
we have tested : with and without space in the text
with or without numbers at the end
short or long text
?
always the same results.
?
Am i doing something wrong or is it a graphical bug ?
?
regards
Jean-Francois |
On 3/11/2025 10:55 AM, Lacassaigne Jean-Francois via groups.io wrote:
Hi,This is a graphical bug in JAVA (or maybe some sources of java), when running of Windows, for some Windows display settings, with some JMRI panel "Label" font settings_in my experience_. It is no, not in my experience from a JMRI problem, though! If you change the Windows display "scaling" setting to 100%, JMRI doesn't have a problem (on my machine). But with the Windows display "scaling" setting at 150% or 200%, I have problems with the "elipses" (i.e. "Partial-label ...") showing up. The best way I have found to "solve" this, for various fonts and various font sizes is to change the "Fixed Width" to be a little bit larger than the number of pixels that are required to display the text. In "Panel Editor", I add the Label, then right-click the Label and select "Edit Text Content & Settings". Then I increase the "Fixed Width" setting until the full text shows up in the "Preview" window, without the elipsis. And then update the panel. And repeat on any other Label on the panel that has an elipsis. In "Layout Editor", I "right-click" aLabel with elipsis. Then select "Margin" then "Set Margin Size". Type in a margin and click "OK". If that doesn't work, increase the margin again and check. Repeat until you have the size "right". And repeat on any other Label on the panel that has an elipsis. I do not use "Control Panel Editor", so cannot give recommendations with that tool. |
Bonsoir Jean-Fran?ois, Je pense que vous êtes fran?ais ?? ?tes vous? un utilisateur de JRMI depuis longtemps ? Pour ma part j'utilise JRMI seul, depuis environ 6 mois sur un circuit très simple. Mon idée est d’automatiser autant que possible ce layout, pas toujours simple. Peut-être pouvons nous nous aider mutuellement ? J'habite en région parisienne prés de Montmorency. A bient?t peut-être. JeanLouisDelestre@... De: "Lacassaigne Jean-Francois via groups.io" <lacassaigne.jean.francois@...> ?: [email protected] 贰苍惫辞测é: Mardi 11 Mars 2025 16:46:30 Objet: Re: [jmriusers] Text labels appears only partially Hi,
?
Thanks for such a detailed reply.
?
we will test it this week-end on the club layout
?
regards
?
Jean-Francois
-- ---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
? |
to navigate to use esc to dismiss