Files
JIMRI/help/en/package/jmri/jmrit/display/TranslateSelection.shtml
T
2026-06-17 14:00:51 +02:00

51 lines
2.7 KiB
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content="HTML Tidy for HTML5 for Apple macOS version 5.8.0">
<title>JMRI: Translate Selection Help</title>
<meta name="author" content="Bob Jacobsen">
<meta name="keywords" content="JMRI help Layout Editor Translate">
<!--#include virtual="/help/en/parts/Style.shtml" -->
</head>
<body>
<!--#include virtual="/help/en/parts/Header.shtml" -->
<div id="mBody">
<div id="mainContent" class="no-sidebar">
<h1>Translate Selection</h1>
<p>The Translate Selection dialog provides for translating in 2D a user-selected part of a
panel created using Layout Editor. Before selecting <strong>Translate Selection...</strong>
in the Options menu, an area of the panel must be "selected". To select an area, press and
hold down the mouse at the upper left of the area, and drag the mouse to the lower right of
the area. The selected area is outlined by a rectangle. For icon items, the upper left corner
of the icon must be within the selection rectangle if the icon is to be translated.</p>
<p>To translate your selected area in the Panel window, enter the amount to translate in the
<em>x</em> (horizontal) and <em>y</em> (vertical) directions. The units are pixels--the same
units shown in the <em>x,y</em> position display in the Layout Editor tool bar. For no
translation in either direction enter zero. For horizontal translation, enter a negative
number to move the selected area left that number of pixels; enter a positive number to move
right. For vertical translation, enter a negative number to move the selected area up by that
number of pixels; enter a positive number to move the selected area down.</p>
<p>After entering the amounts to translate, click <strong>Move Selection</strong> to move the
selected area. <strong>Caution:</strong> translating too far can move the upper left corner
of an icon over the edge of the panel, where it cannot be selected, and may disappear
forever. Fortunately, if you make this mistake, you can undo a translation by immediately
selecting <strong>Undo Translation</strong> in the Options menu. <strong>Undo
Translation</strong> only works for the last <strong>Translate Selection...</strong>
performed. Remember to check results immediately after translating a selection in case
undoing the operation is needed.</p>
<p><strong>To retain your changes, please remember to save your Panel!</strong>
</p>
<!--#include virtual="/help/en/parts/Footer.shtml" -->
</div>
<!-- closes #mainContent-->
</div>
<!-- closes #mBody-->
<script src="/js/help.js"></script>
</body>
</html>