File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Spacer component
3+ order : 10
4+ ---
5+
6+ # Spacer
7+
8+ ``` rust
9+ pub fn spacer (args : impl Into <SpacerArgs >)
10+ ```
11+
12+ The `spacer ` component creates a resizable empty area in layouts to better control the positioning and spacing of other components . It does not render any visible content .
13+
14+ ## Arguments
15+
16+ - `args : impl Into <SpacerArgs >`
17+
18+ This argument configures the size and other properties of the `spacer ` component . You can use `SpacerArgsBuilder ` to construct it .
Original file line number Diff line number Diff line change 1+ ---
2+ title : Spacer 组件
3+ order : 10
4+ ---
5+
6+ # Spacer
7+
8+ ``` rust
9+ pub fn spacer (args : impl Into <SpacerArgs >)
10+ ```
11+
12+ `spacer ` 组件用于在布局中创建一个可调整大小的空白区域,以便更好地控制其他组件的位置和间距。不实际渲染任何内容。
13+
14+ ## 参数
15+
16+ - `args : impl Into <SpacerArgs >`
17+
18+ 该参数用于配置 `spacer ` 组件的大小等属性。可以使用 `SpacerArgsBuilder ` 来构建。
You can’t perform that action at this time.
0 commit comments