masonry-rs
masonry-rs copied to clipboard
Rust UI design toolkit.
In Xilem, this was implemented in the following commits: - https://github.com/linebender/xilem/commit/b1e57b02d23313643aa10c2b893a5bdd2571152b - https://github.com/linebender/xilem/commit/963af1a59873ede0999dcdf603dd3b4aa4ba2a76 - https://github.com/linebender/xilem/commit/e937723fcb37ff2a37979abba4a723154d11bffc - https://github.com/linebender/xilem/commit/6058189104d3a18ee3271c6763aa1c9f9ae3758c - https://github.com/linebender/xilem/commit/424f667a1dd3f32ea08e42a4ff6db1ec3d95e6c7 Overall I'd like to find an approach less tied to a...
Portals are widgets that are meant to display a view to a bigger area. They're used for Scroll widgets. They are still conceptually unclear. We need to figure out what...
## Module structure Virtually every module should be private. The only public modules should inline modules that gather public-facing re-exports. Most items should be exported from the root module, with...
See: - https://github.com/linebender/xilem/commit/8556c0d6f997840854635a6ff18b2c3c01b5fa85 - https://github.com/linebender/xilem/commit/ddb49cf91ab28d2749ffab5e9e8a46ecda473916 - https://github.com/linebender/xilem/commit/3465ddefaadc3e835f0bc41004601780dd1e812b - https://github.com/linebender/xilem/commit/21d6579a229bc22d599a3252115768a92453b143
Widgets should be able to require paint-only animations, eg animations that don't change their layout. When dispatching animations, you could then skip offscreen widgets. Animation event should include some kind...
The TestHarness type aims to emulate an actual GUI environment with as much fidelity as it can while staying performant. However, some of its internal abstractions are still a bit...
The goal of debug_logger is to serialize the state of the widget tree in real time, to a stream that can be read by [an external debugging application](https://github.com/PoignardAzur/rust-devtools) which can...
Right now, Masonry's macro for checking snapshots is `assert_render_snapshot`. As the name indicates, it panics as soon as an incorrect snapshot is detected. This is good for tests that have...
Some dependencies can probably be removed with minimal effort to reduce build times / sizes: - serde - im - chrono - fluent
Right now the framework only gives a `children_changed()` method when a Widget has changed its data in a way that adds or removes children. Instead, it should provide three methods:...