Ryan Naddy

Results 58 comments of Ryan Naddy

Looking for feedback, There are a few things I was unsure of. The `TODO`. Not sure if it should only update when the input changes, as I am not sure...

> So, I’d be happy to guide you through it if you’re interested. Yeah, that would be great! - I tried implementing the `enum`: `MouseCursor::Custom { image: crate::graphics::Image, hotspot_x: int,...

> @TheColorRed I happen to need this feature, do you have interest in continuing the PR? I can take it over Sure go ahead and take it over.

@ogoffart You mean something like this? I didn't think of booleans, I think this look better than my implementation. ```rs let min = false; let max = false; let close...

@ogoffart I have updated the implementation: ```rs app.window().set_window_button_enabled(WindowButton::Minimize, true); app.window().set_window_button_enabled(WindowButton::Maximize, true); app.window().set_window_button_enabled(WindowButton::Close, true); ``` @Enyium I am not sure that would fall in line with the current structure of the...

@ogoffart, @Enyium I have moved the code out of the API and into .slint. I wasn't sure on the name, so I went `no-**-button` as the default of a property...

@Enyium I have made all the requested changes, any other feedback?

@ogoffart The biggest reason I wanted to add this is because I wanted a `replace` function to format input easily without leaving the slint language. In my app, I have...