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
Inline LogixNG add block item different on two systems
#logixng
Windows 11 or Linux Mint 21.1
JMRI 5.10
?
I take my "panel file" home from the museum to work on it locally. I run JMRI on Linux Mint at home. I was working on creating an inline LogixNG whose purpose was to set the value field of a lot of blocks on the layout having been triggered by an icon touch on a Panel Editor panel. That all worked fine at home. I created a few of the add/item/block steps in a conditionalNG. Then I copied the file to a USB drive and ambled down to the museum to complete the task on site.
?
But much to my astonishment and grumpiness the add/item/block window is different at the museum than at home. The rightmost block in that window is missing. This is where one gets to type in the value that is to be applied to the value field of the block. It's the same whether I'm adding a new line or editing an existing one that I had created at home.
?
I don't get it. Why is this different? JMRI version is the same at both locations.
?
George
? |
George, Try dragging the right side of the window to make it wider. ?Different hardware and operating systems can handle window sizing differently. Dave Sand ----- Original message ----- From: "George Hofmann via groups.io" <george.hofmann=[email protected]> Subject: [jmriusers] Inline LogixNG add block item different on two systems #logixng Date: Monday, April 07, 2025 7:49 PM Windows 11 or Linux Mint 21.1 JMRI 5.10 ? I take my "panel file" home from the museum to work on it locally. I run JMRI on Linux Mint at home. I was working on creating an inline LogixNG whose purpose was to set the value field of a lot of blocks on the layout having been triggered by an icon touch on a Panel Editor panel. That all worked fine at home. I created a few of the add/item/block steps in a conditionalNG. Then I copied the file to a USB drive and ambled down to the museum to complete the task on site. ? But much to my astonishment and grumpiness the add/item/block window is different at the museum than at home. The rightmost block in that window is missing. This is where one gets to type in the value that is to be applied to the value field of the block. It's the same whether I'm adding a new line or editing an existing one that I had created at home. ? I don't get it. Why is this different? JMRI version is the same at both locations. ? George ? |
Well here's the deal. I cannot increase the width of the window. I'm not sure why. This window seems to be excessively wide to begin with and could have been designed in a more compact configuration. But be that as it may I should be able to make the window wider. There are no scroll bars either. The possible clue here is that the monitor that I am working with at the museum is configured in portrait mode, i.e. taller than it is wide, in order to fit into a tight space. I can't even think of a workaround. It is Windows 11.
?
George |
Tinkering with this window back on my Linux machine, I see that if I reduce the window width, the third and second entry fields just disappear as the window shrinks with no way to access them or any indication that they even exist. This is not a good user interface. A scroll bar should appear.
?
George |
What’s the exact title of this window? I don’t use that part of the code, but perhaps I can fix the GUI.
Bob On Apr 11, 2025, at 11:55?PM, George Hofmann via groups.io <george.hofmann@...> wrote:— Bob Jacobsen rgj1927@... |
Bob,
toggle quoted message
Show quoted text
The dialog is created in this class: jmri.jmrit.logixng.tools.swing.TreeEditor In the method makeAddEditFrame() Each LogixNG action/expression has its own class for creating a panel to configure that class, for example: jmri.jmrit.logixng.actions.swing.ActionBlockSwing To test it, add a LogixNG, add a ConditionalNG and add a Block action. The Block action is not the only panel that are very wide, which is why it's better to fix the problem in the class TreeEditor. Thank you for looking into this! Daniel On 2025-04-12 12:45, Bob Jacobsen via groups.io wrote:
What’s the exact title of this window? I don’t use that part of the code, but perhaps I can fix the GUI. |
to navigate to use esc to dismiss