Olivier Goffart
1089d29ebb
Make Empty not fill the parent by default
...
Unless `preferred-*:100%` is set
Part of #2284
2023-03-24 11:15:05 +01:00
Olivier Goffart
8934bf3bf5
Layouting: When propagating constraint to parent, use the explicit constraints...
...
in addition to the implicit constraints
Finishes #783
2023-02-15 17:07:33 +01:00
Olivier Goffart
7c55b9f925
Only apply the constraint to the parent with the new syntax
...
Also attempt to document it
2023-01-24 19:18:59 +01:00
Olivier Goffart
b55ec6894a
Layouting: forward the implicit constraint from the children to the parent
...
Closes #783
2023-01-17 16:29:13 +01:00
Olivier Goffart
3dc560be06
Make source-clip-width/height defaults to the size of the image
...
And use that to compute the ratio
Whilte technically a breaking change, i don't think anyone rely on the
previous behavior.
Fixes #664
2022-12-20 08:42:47 -08:00
Olivier Goffart
443a5f7657
Center element by default in their parent with the new syntax
2022-11-15 17:33:27 +01:00
Olivier Goffart
c1f4f4e96b
Start working on input/output properties
2022-10-20 08:02:26 +02:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
...
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Tobias Hunger
e6b24bceec
[reorg]: Set up and populate the internal
directory
...
Move "internal" crates into the `internal` directory. This first batch
includes most of sixtyfps_runtime but leaves the rendering backends
alone for now.
pre-commit applied some cleanups to the moved files:
- Consistent newline at end of file policy
- trimming trailing whitespace
- Formatting Cargo.toml files.
2022-01-31 16:00:50 +01:00