ref(container): use only one size for each container

This commit is contained in:
2025-02-15 10:49:48 +01:00
parent 01d121ef87
commit 26d31a38de
4 changed files with 37 additions and 78 deletions

View File

@@ -108,6 +108,17 @@ cells of the content (and may be overwritten by child elements contents).
The border of an element should be around independent of the scrolling of the
contents, just like padding.
### Scrollable contents
Contents that is scrollable should be done *virtually* through the contents of
the `Container`. This means each container contents implements scrolling for
itself if required.
This still has one issue: Layout of child elements that are already too large
(i.e. or become too small). The library could provide automatic rendering of a
scrollbar given the right parameters however. The scrolling input action would
then also be implemented by the user.
### Input
How is the user input handled in the containers? Should there be active