Skip to content

Commit 8a1699f

Browse files
committed
Adding style guide notes.
1 parent 6d3d24d commit 8a1699f

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

docs/ff-concepts/design-system/design-system.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ If you prefer watching a video tutorial, here is the guide for you:
198198

199199
---
200200

201-
## Loading Indicator
201+
## Loading Indicators
202202

203-
To customize the loading indicators used in the app, you can make changes in this section. You have the option to specify the **Indicator Type**, **Color**, and **Radius**, and the preview of the changes will be displayed below.
203+
To customize the **Loading Indicators** used in the app, you can make changes in this section. You have the option to specify the **Indicator Type**, **Color**, and **Radius**, and the preview of the changes will be displayed below.
204204

205205
<div style={{
206206
position: 'relative',
@@ -228,6 +228,10 @@ To customize the loading indicators used in the app, you can make changes in thi
228228
</div>
229229
<p></p>
230230

231+
:::tip
232+
Avoid mis-sized loading indicators or components, which lead to jumping layouts. Ensure loading components match the size and position of the content they replace.
233+
:::
234+
231235
If you prefer watching a video tutorial, here is the guide for you:
232236

233237
<div style={{

docs/resources/ui/widgets/composing-widgets/list-grid.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ Axis sets the orientation of the ListView. You can select either "Vertical" or
2929
- **Items Spacing:** This defines the space between individual items in the ListView. You can
3030
specify the spacing in pixels.
3131

32+
:::tip[Items Spacing vs Padding]
33+
Prefer “Items Spacing” set on the parent row or column instead of padding on individual elements. This ensures consistency, especially on non-dynamically generated lists.
34+
:::
35+
3236
- **Apply to Start & End:** When enabled, the item spacing will also be applied to the start and the
3337
end of the ListView, adding a margin at the beginning and end of the list. This effectively adds padding at the start and end of the layout in addition to between the items.
3438

docs/resources/ui/widgets/composing-widgets/rows-column-stack.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@ incoming constraints and the scrolling movement, effectively managing overflow b
222222
Column. You can specify a static numerical value that determines the pixel spacing between
223223
adjacent children or set it from a variable.
224224

225+
:::tip[Items Spacing vs Padding]
226+
Prefer “Items Spacing” set on the parent row or column instead of padding on individual elements. This ensures consistency, especially on non-dynamically generated lists.
227+
:::
228+
225229
- **Apply to Start & End:** When toggled on, this applies the specified item spacing to the
226230
beginning and the end of the Row or Column. This effectively adds padding at the start and end of the layout in addition to between the items.
227231

0 commit comments

Comments
 (0)