cushy/examples/nested-scroll.rs
Jonathan Johnson 947f1cd8a7
Stack with premeasured content now work
This makes nested scroll areas work correctly.
2023-11-15 07:47:23 -08:00

18 lines
430 B
Rust

use gooey::widget::MakeWidget;
use gooey::Run;
use kludgine::figures::units::Lp;
fn main() -> gooey::Result {
include_str!("./nested-scroll.rs")
.vertical_scroll()
.height(Lp::inches(3))
.and(
include_str!("./canvas.rs")
.vertical_scroll()
.height(Lp::inches(3)),
)
.into_rows()
.vertical_scroll()
.expand()
.run()
}