From 9f1529b0972c715fe8fbd01c3add8a6e4a9c6ba2 Mon Sep 17 00:00:00 2001 From: rasatpc Date: Tue, 21 May 2024 23:37:35 +0300 Subject: [PATCH] Container example correction --- Wiki/Panels/Container/index.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Wiki/Panels/Container/index.md b/Wiki/Panels/Container/index.md index 9648b4d5..26f839bc 100644 --- a/Wiki/Panels/Container/index.md +++ b/Wiki/Panels/Container/index.md @@ -12,22 +12,20 @@ description: | {:toc} This example, I call "Key Panel" because the `Container's` unique options can -be formed into any size, shape and number of buttons. `FvwmButtons` to control +be formed into any pattern, size and number of buttons. `FvwmButtons` to control many of my functions and application selection in one place. ## Actions -`Containers` are spaces defined that can span multiple `rows` and `columns` or +`Containers` are defined spaces that span multiple `rows` and `columns` or subdivide a row or column into more rows or columns. This can be useful for -instance if one wants to allocate a certain percentage of space to an element. -Say one wants to `swallow` an XClock and allocate 100% of the width and 80% of -the height to the XClock. This can be defined as such: +instance if one wants to allocate a certain space to elements. Say one wants +to `swallow` an Xclock and Xosview. This can be defined as such: {% fvwm2rc %} -*FvwmButtons: Rows 5 -*FvwmButtons: Columns 1 -*FvwmButtons: (1x4, Container) -*FvwmButtons: (Swallow "xclock" 'Exec exec xclock') +*FvwmButtons: (Container(Rows 2, Columns 1) +*FvwmButtons: (1x1, Swallow "xclock" 'Exec exec xclock') +*FvwmButtons: (1x1, Swallow "xosview" 'Exec exec xosview') *FvwmButtons: (End) {% endfvwm2rc %} @@ -93,7 +91,7 @@ Different command buttons, `Panel` that opens and closes a row of icons or apps, container.png){:.d-block .mx-auto .img-fluid} {% fvwm2rc %} -*Expl-3: (2x2, Container(Columns 4)) +*Expl-3: (Container(Columns 4)) *Expl-3: (2x2, Panel(left, indicator 48) \ "IconButtons" 'Module FvwmButtons IconButtons') *Expl-3: (1x1, Icon /move.png, Action Move)