diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-11-17 00:43:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-17 00:43:16 +0100 |
| commit | 2dae18da096e52ea0e9a274b73781d8de80ec619 (patch) | |
| tree | 24cd3eb72aa008c4f896a766c69c67e6bc19230e /documentation | |
| parent | 624eda17bcee5db3dec008ff86c18ba432ee64f1 (diff) | |
Fluid: Add Undo to formula input fields. (#547)
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/src/fluid.dox | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/documentation/src/fluid.dox b/documentation/src/fluid.dox index b0682be9b..fc020f7d7 100644 --- a/documentation/src/fluid.dox +++ b/documentation/src/fluid.dox @@ -1028,6 +1028,25 @@ the image. The position fields show the current position and size of the widget box. Enter new values to move and/or resize a widget. +\par +These fields understand basic math and variables. +Appending <tt>+10</tt> to the <b>X</b> coordinate will move a widget 10 units +to the right without having to reenter the value. +Entering the formula <tt>w+3</tt> in the <b>Width</b> field will widen all +selected Widgets by 3 units. +The formula <tt>py+i*20</tt> in the <b>Y</b> field will order all selected +widgets vertically in their group by increments of 20 units. + +\par +<table> +<tr><th>Name</th><th>Value</th></tr> +<tr><td> `i` </td><td> zero based counter of selected widgets </td></tr> +<tr><td> `x`, `y`, `w`, `h` </td><td> position and size of the current widget </td></tr> +<tr><td> `px`, `py`, `pw`, `ph` </td><td> dimensions of the parent widget </td></tr> +<tr><td> `sx`, `sy`, `sw`, `sh` </td><td> dimensions of the previous sibling </td></tr> +<tr><td> `cx`, `cy`, `cw`, `ch` </td><td> bounding box of all children </td></tr> +</table> + \par Values (text fields) \par |
