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
Issue with displaying train tracking text using layout editor
#layouteditor
#traintracking
I use a layout editor panel with train tracking for my dispatcher to control train movements.? The default memory icons displaying the train info were too small to read comfortably, so I edited the panel .xml file to increase the font size for the memoryicon elements.? This works as the text size on the layout panel?is increased to the edited value.? The issue is that the width of the memory icon display on the panel does not change to accommodate the new text size width resulting in a truncated memory value display.
I cannot seem to find a method to resize the display width in the layout editor.? On the drop down menu for the memory icon there are options for Width = Auto and Height = Auto but these options are grayed-out and not selectable (they would seem to be what I want).? I have tried setting the Preferences - Display - Default Font Size which in addition to modifying the Windows fonts also resulted in a new memoryicon font size set to the new default value but the panel still showed truncated text.? The memory values being displayed are not long, typically something like:? 'NW Coke Turn' or 'SOU 313' where most of the 'Turn' text and '13' is missing (truncated). I appreciate your interest in my problem and any guidance forthcoming. Cheers,? Roger |
Roger, Try using the "Properties" right click menu item for the memory icons to set the attributes. ?It combines many of the attributes in a single dialog. Dave Sand ----- Original message ----- From: "Roger Raduenz via groups.io" <shipwreck52=[email protected]> Subject: [jmriusers] Issue with displaying train tracking text using layout editor #layouteditor #traintracking Date: Wednesday, May 03, 2023 6:57 PM I use a layout editor panel with train tracking for my dispatcher to control train movements.? The default memory icons displaying the train info were too small to read comfortably, so I edited the panel .xml file to increase the font size for the memoryicon elements.? This works as the text size on the layout panel?is increased to the edited value.? The issue is that the width of the memory icon display on the panel does not change to accommodate the new text size width resulting in a truncated memory value display. I cannot seem to find a method to resize the display width in the layout editor.? On the drop down menu for the memory icon there are options for Width = Auto and Height = Auto but these options are grayed-out and not selectable (they would seem to be what I want).? I have tried setting the Preferences - Display - Default Font Size which in addition to modifying the Windows fonts also resulted in a new memoryicon font size set to the new default value but the panel still showed truncated text.? The memory values being displayed are not long, typically something like:? 'NW Coke Turn' or 'SOU 313' where most of the 'Turn' text and '13' is missing (truncated). I appreciate your interest in my problem and any guidance forthcoming. Cheers,? Roger |
to navigate to use esc to dismiss