Handling fill content child and fixed height child within linear layout
- Dominant language
- Rust
- Stars
- 4.8k
- Forks
- 270
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 2
Description
First: is this a bug report? A suggestion? Or asking for help?
Asking for help
# Problem description
I have a vertical linear layout, it consists of two children. One is an editable text box of fixed height and full-width, it sits at the bottom of the screen at all times. The second is a scrollable list view that consumes the remaining height and full-width of the view. It's a super basic chat program effectively. Here is a mockup I made:

I have tried various configurations to try and achieve this to no effect. I had a full screen linear layout, I set a fixed height on the edit text and full screen on the list. The list did not respect the height of the edit text child and instead wrote over it.
I looked through some issues on here, I see that weights also do not exist - how can I achieve this effect with cursive?
# Environment
* Operating system: linux distribution, windows, macOS, ...
macos
* Backend used: ncurses (the default one), pancurses, termion, ...
* If using ncurses on linux, ncurses version? (run `grep "define NCURSES_VERSION " /usr/include/curses.h`)
default
* Current locale (run `locale` in a terminal).
* Cursive version (from crates.io, from git, ...)
0.14
Contributor guide
Assessment
This issue has not been assessed yet.