-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migrated Image and ProgressBar widgets #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you.
I need to add renderers to this PR
The tests should pass once we fix the doc examples. The ggez
example should work fine. There is no need to implement renderers for all the available widgets, only the ones the example uses.
/// ``` | ||
/// use iced::Image; | ||
/// | ||
/// let image = Image::new("image"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would probably write something like:
# let my_image_handle = String::from("some_handle"); // This line will be hidden in docs
let image = Image::new(my_image_handle);
That way, we remark the fact that the handle is generic.
/// # Example | ||
/// | ||
/// ``` | ||
/// use coffee::ui::ProgressBar; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be iced::ProgressBar
.
/// A widget that displays a progress of an action. | ||
/// | ||
/// It implements [`Widget`] when the associated [`core::Renderer`] implements | ||
/// the [`button::Renderer`] trait. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
progress_bar::Renderer
here.
I fixed the issues and merged the PR manually. Thank you again! 🎉 |
Iced fixes for trade activity
Add `column!` and `row!` macros in `iced_pure`
Move IME candidate window . sorry for big change
WIP, I need to add renderers to this PR, but I had a problem with running the example. It fails with #1