Jaremy Creechley

Results 188 comments of Jaremy Creechley

Thanks for the feedback! It really helps me find these cases of missing APIs.

> I'm using with node: in every widget. I have no idea why I have to and what is the relathionship between a widget and node 😊🤷‍♂️ A widget is...

With changes your draw would look something like this. Ohhh, I think I do like `this` better. Even `with this:` feels less clunky. What do you think? ```nim proc draw*(self:...

Sweet, the text apis are starting to feel a lot better now. Thanks! https://github.com/elcritch/figuro/pull/82 I got your example looking like this: Here's the code changes. How's this? ```nim proc draw*(self:...

Similar to the `withWidget` in widget draw methods, I added a `withRootWidget` for "root" widgets. Pretty similar but just adds that parent rectangle I mentioned before.

You can also use `usingVerticalLayout` or `usingHorizontalLayout` in addition to using `Vertical.new "verticalBox": ...`.

> ![Image](https://github.com/user-attachments/assets/d4db58fc-3dc2-41fd-a393-105464251494) > > * The horizontal text alignment is off between `text` and `Input`. > * `cornerRadius 0.0` for the `Input` has no effect. Ohhh! Figured out the offset...

> Ohhh! Figured out the offset lol. They're essentially identical, use the same text layout, etc. > > Except for one thing: text input has a hidden character (rune) at...

Pretty fun seeing this coming together!

Version 0.12.0 is [merged](https://github.com/elcritch/figuro/pull/82)! Lots of cleanup and little fixes.