Madeline Sparkles

Results 73 comments of Madeline Sparkles

yakui will be using cosmic text once https://github.com/SecondHalfGames/yakui/pull/179 gets merged (one day :tm: ) :)

![image](https://github.com/SecondHalfGames/yakui/assets/33348966/7de5930c-00ee-47e6-810a-6dedbe3ba8f2)

reprod: ```rs use yakui::widgets::{Layer, Scrollable}; use yakui::{button, column, reflow, use_state, widgets::Pad, Alignment, Dim2}; use yakui::{constrained, row, Constraints, Vec2}; use yakui_core::Pivot; pub fn run() { let open = use_state(|| false); let...

simpler version: ```rs pub fn run() { let open = use_state(|| false); let options = ["Hello", "World", "Foobar", "Foobar", "Foobar", "Foobar"]; let selected = use_state(|| 0); row(|| { button("abcde"); Scrollable::vertical().show(||...

We figured out the issue. The current clip rect getting clipped by the previous clip produces bogus result. `Previous: Rect { pos: Vec2(0.0, 0.0), size: Vec2(125.0, 50.0) } Unscaled: Rect...

@LPGhatguy We're not sure how to fix this, do you have any ideas?

We've successfully implemented a fix for this, after the discussions on rust gamedev discord! please look at our fork for if it's a suitable fix, then we'll extract it into...

Sometimes we think about custom events in yakui that are local to widgets. We don't personally believe that, as a UI library focused on providing you with scaffolding to build...

As per #179, we've figured that textboxes and text widgets are extremely dependent on the text backend! Ideally you'd just replace the widgets entirely yourself We sure should move it...

Perhaps not to patch it but just have a separate crate that has text widgets? During the cosmic_text PR we barely had to touch the wgpu side of things, yakui's...