Skip to content

Commit 9f1529b

Browse files
committed
Container example correction
1 parent bd42fd7 commit 9f1529b

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

Wiki/Panels/Container/index.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,20 @@ description: |
1212
{:toc}
1313

1414
This example, I call "Key Panel" because the `Container's` unique options can
15-
be formed into any size, shape and number of buttons. `FvwmButtons` to control
15+
be formed into any pattern, size and number of buttons. `FvwmButtons` to control
1616
many of my functions and application selection in one place.
1717

1818
## Actions
1919

20-
`Containers` are spaces defined that can span multiple `rows` and `columns` or
20+
`Containers` are defined spaces that span multiple `rows` and `columns` or
2121
subdivide a row or column into more rows or columns. This can be useful for
22-
instance if one wants to allocate a certain percentage of space to an element.
23-
Say one wants to `swallow` an XClock and allocate 100% of the width and 80% of
24-
the height to the XClock. This can be defined as such:
22+
instance if one wants to allocate a certain space to elements. Say one wants
23+
to `swallow` an Xclock and Xosview. This can be defined as such:
2524

2625
{% fvwm2rc %}
27-
*FvwmButtons: Rows 5
28-
*FvwmButtons: Columns 1
29-
*FvwmButtons: (1x4, Container)
30-
*FvwmButtons: (Swallow "xclock" 'Exec exec xclock')
26+
*FvwmButtons: (Container(Rows 2, Columns 1)
27+
*FvwmButtons: (1x1, Swallow "xclock" 'Exec exec xclock')
28+
*FvwmButtons: (1x1, Swallow "xosview" 'Exec exec xosview')
3129
*FvwmButtons: (End)
3230
{% endfvwm2rc %}
3331

@@ -93,7 +91,7 @@ Different command buttons, `Panel` that opens and closes a row of icons or apps,
9391
container.png){:.d-block .mx-auto .img-fluid}
9492

9593
{% fvwm2rc %}
96-
*Expl-3: (2x2, Container(Columns 4))
94+
*Expl-3: (Container(Columns 4))
9795
*Expl-3: (2x2, Panel(left, indicator 48) \
9896
"IconButtons" 'Module FvwmButtons IconButtons')
9997
*Expl-3: (1x1, Icon /move.png, Action Move)

0 commit comments

Comments
 (0)