We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Button::new()
error[E0624]: associated function `new` is private --> src/app.rs:300:29 | 300 | cosmic::widget::Button::new(content) | ^^^ private associated function | ::: /home/luke/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/7abcec759101/src/widget/button/widget.rs:62:5 | 62 | pub(super) fn new(content: impl Into<crate::Element<'a, Message>>) -> Self { | -------------------------------------------------------------------------- private associated function defined here
I think it needs to be cosmic::widget::button(content)?
cosmic::widget::button(content)
The text was updated successfully, but these errors were encountered:
1c04b78
No branches or pull requests
I think it needs to be
cosmic::widget::button(content)
?The text was updated successfully, but these errors were encountered: