add(container/layout): sizing:fixed option
This commit is contained in:
44
README.md
44
README.md
@@ -68,3 +68,47 @@ such that an application created using this library can be accessed directly
|
||||
via ssh. This provides security through the ssh protocol and can defer the
|
||||
synchronization process, as users may access the same running instance. Which is
|
||||
the primary use-case for myself to create this library in the first place.
|
||||
|
||||
---
|
||||
## Roadmap
|
||||
|
||||
- [ ] Container rendering
|
||||
- [ ] Layout
|
||||
- [x] direction
|
||||
- [x] vertical
|
||||
- [x] horizontal
|
||||
- [x] padding
|
||||
- [x] gap
|
||||
- [ ] alignment
|
||||
- [ ] center
|
||||
- [ ] left
|
||||
- [ ] right
|
||||
- [ ] sizing
|
||||
- [ ] width
|
||||
- [ ] height
|
||||
- [ ] options
|
||||
- [ ] fit
|
||||
- [ ] grow
|
||||
- [x] fixed
|
||||
- [ ] percent
|
||||
- [ ] Border
|
||||
- [x] sides
|
||||
- [x] corners
|
||||
- [ ] separators
|
||||
- [x] Rectangle
|
||||
- [ ] Scroll
|
||||
- [ ] vertical
|
||||
- [ ] horizontal
|
||||
- [ ] scroll bar(s)
|
||||
|
||||
For the correct rendering of the corresponding layout's that extend the view
|
||||
port I need to figure out a way to render what would be visible at a given
|
||||
frame. I would need to separate the between the Layout size -> i.e. the size the
|
||||
container uses in virtual space and the real screen!
|
||||
|
||||
Here the sizing options are relevant!
|
||||
- *fit*: adjust virtual space of container by the size of its children (i.e. a
|
||||
container needs to be able to get the necessary size of its children)
|
||||
- *grow*: use as much space as available (what exactly would be the difference
|
||||
between this option and *fit*?)
|
||||
- *fixed*: use exactly as much cells (in the specified direction)
|
||||
|
||||
Reference in New Issue
Block a user