Closed 1595901624 closed 9 months ago
Thanks for filling a bug report. The current documentation for it is there: https://slint.dev/releases/1.2.0/docs/slint/src/language/concepts/layouting#stretch-algorithm But more details about the calculation should be added there
I guess this is possibly a duplicate of https://github.com/slint-ui/slint/issues/143
I found this code in the source code, but I don't really understand how the width of the element is calculated by the stretch factor, can you give me the details of the calculation method?
Thanks!