From 2dae18da096e52ea0e9a274b73781d8de80ec619 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 17 Nov 2022 00:43:16 +0100 Subject: Fluid: Add Undo to formula input fields. (#547) --- documentation/src/fluid.dox | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'documentation') 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 +10 to the X coordinate will move a widget 10 units +to the right without having to reenter the value. +Entering the formula w+3 in the Width field will widen all +selected Widgets by 3 units. +The formula py+i*20 in the Y field will order all selected +widgets vertically in their group by increments of 20 units. + +\par + + + + + + + +
NameValue
`i` zero based counter of selected widgets
`x`, `y`, `w`, `h` position and size of the current widget
`px`, `py`, `pw`, `ph` dimensions of the parent widget
`sx`, `sy`, `sw`, `sh` dimensions of the previous sibling
`cx`, `cy`, `cw`, `ch` bounding box of all children
+ \par Values (text fields) \par -- cgit v1.2.3