You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AbsoluteLayout container is the simplest layout container in NativeScript. It uses absolute top-left coordinates to position its children. The AbsoluteLayout will not enforce any layout constraints on its children and will not resize them at runtime when its size changes.
7
+
Контейнер AbsoluteLayout — это самый простой контейнер макета в NativeScript. Он использует абсолютные верхние левые координаты для расположения своих дочерних элементов. AbsoluteLayout не будет применять ограничения макета на своих дочерних элементах и не будет изменять их размер во время выполнения при изменении их размеров.
8
8
9
-
### Samples
9
+
### Примеры
10
10
11
-
#### A grid-like layout
11
+
#### Макет в виде сетки
12
12
13
13
```html
14
14
<AbsoluteLayoutbackgroundColor="#3c495e">
@@ -20,7 +20,7 @@ The AbsoluteLayout container is the simplest layout container in NativeScript. I
DockLayout is a layout that provides a docking mechanism for child elements to the `left`, `right`, `top`, `bottom` or center of the layout. To define the docking side of a child element, use its `dock` property. To dock a child element to the center of the DockLayout, it must be the **last child**of the DockLayout and the`stretchLastChild`property of the DockLayout must be set to`true`.
7
+
DockLayout — это макет, обеспечивающий механизм прикрепления дочерних элементов слева (`left`), справа (`right`), сверху (`top`), снизу (`bottom`) или центра макета. Для определения стороны прикрепления дочерного элемента, используйте его свойство `dock`. Для прикрепления элемента к центру DockLayout, он должен быть **последим дочерним элементом** DockLayout, а свойство`stretchLastChild` DockLayout должно быть установлено в`true`.
8
8
9
-
### Samples
9
+
### Примеры
10
10
11
-
#### Dock to every side without stretching last child
11
+
#### Стыковка по всем сторонам без прикрепления последнего дочерного элемента
0 commit comments