Modding:GUIs/ru: Difference between revisions

From Vintage Story Wiki
Created page with "* <code>FixedX</code>/<code>FixedY</code>: абсолютное положение, в котором должен быть размещен элемент. * <code>FixedWidth..."
(Created page with "=== Границы Элемента===")
(Created page with "* <code>FixedX</code>/<code>FixedY</code>: абсолютное положение, в котором должен быть размещен элемент. * <code>FixedWidth...")
Line 30: Line 30:
=== Границы Элемента===
=== Границы Элемента===


* <code>FixedX</code>/<code>FixedY</code>: The absolute position where the element should be placed
* <code>FixedX</code>/<code>FixedY</code>: абсолютное положение, в котором должен быть размещен элемент.
* <code>FixedWidth</code>/<code>FixedHeight</code>: The absolute width and height of the element
* <code>FixedWidth</code>/<code>FixedHeight</code>: абсолютная ширина и высота элемента.
* <code>FixedPaddingX</code>/<code>FixedPaddingY</code>: The absolute inner padding of the element
* <code>FixedPaddingX</code>/<code>FixedPaddingY</code>: абсолютное внутреннее заполнение элемента.
* <code>FixedMarginX</code>/<code>FixedMarginY</code>: The absolute outer padding of the element
* <code>FixedMarginX</code>/<code>FixedMarginY</code>: абсолютное внешнее заполнение элемента
* <code>ParentBounds</code>: The parent boundaries, in which this element resides in
* <code>ParentBounds</code>: родительские границы, в которых находится этот элемент.
* <code>ChildBounds</code>: The child boundaries this element contains
* <code>ChildBounds</code>: дочерние границы, которые содержит этот элемент.
* <code>Alignment</code>: The alignment of the element. If set to <code>None</code> the FixedX/Y Position is used. For any other value the FixedX/Y values are ignored. For example when you used <code>RightTop</code> the element will always be at the right top most corner of its parent bounds. If you use <code>RightFixed</code> the element will be right aligned, but its Y-Position is determined by <code>FixedY</code>
* <code>Alignment</code>: Выравнивание элемента. Если установлено значение <code>None</code>, используется фиксированная позиция X/Y. Для любого другого значения значения FixedX/Y игнорируются. Например, когда вы использовали <code>RightTop</code>, элемент всегда будет находиться в правом верхнем углу своих родительских границ. Если вы используете <code>RightFixed</code>, элемент будет выровнен по правому краю, но его Y-позиция определяется <code>FixedY</code>
* <code>HorizontalSizing</code>/<code>VerticalSizing</code>: The sizing method to be used, can be either <code>Fixed</code> (default), <code>Percentual</code> or <code>FitToChildren</code>
* <code>HorizontalSizing</code>/<code>VerticalSizing</code>: используемый метод изменения размера может быть либо <code>Fixed</code> (по умолчанию), <code>Percentual</code>, либо <code>FitToChildren</code>


===GuiComposer===
===GuiComposer===
Confirmedusers
13,514

edits