freya
freya copied to clipboard
Cross-platform GUI library for ๐ฆ Rust powered by ๐งฌ Dioxus and ๐จ Skia.
Right now they are almost non-existent, apart from the "X component. See XProps" boilerplate. The events don't even have that.
The book has a lot of code that doesn't even compile. Testing the UI is overkill, but the book should not contain any code that doesn't compile.
```rs fn app(cx: Scope) -> Element { use_on_platform_event(cx, (), |(_deps, ev)| { println!("{ev:?}") }); render!( label { "hi" } ) } ```
Needs first https://github.com/marc2332/freya/issues/59 Create a scroll controller identified by a given dioxus router route
Implements snapping for `rect` and `container` elements to pixel boundaries, allowing for sharper rendering of borders and rect edges. - This is an initial pass implementation. In the future, this...
Usually selection has higher priority than cursor so input behavior should be little bit different if text has been selected. 1. If you select the text and press backspace the...
# Extension of rect with full flex properties ### **IMPOTANT:** Children positioning #### Any children positioning must respect the paddings of children and the container ## Types ### Alignment enum...
When I try to close window by click `(x)` button I have a segmentation fault. GDB shows the following backtrace: ``` Thread 1 "ex1" received signal SIGSEGV, Segmentation fault. 0x00007ffff5c8c904...
Not sure how support for this in winit looks, but it's probably going to be useful to have a way to mark an element (either through a wrapper component like...