Remove sandbox by making application more generic 🎉
This commit is contained in:
parent
0a24611ccd
commit
28a27f08ed
23 changed files with 80 additions and 111 deletions
|
|
@ -4,7 +4,7 @@ use iced::{Element, Font, Length};
|
|||
const ICON_FONT: Font = Font::with_name("icons");
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::sandbox("Checkbox - Iced", Example::update, Example::view)
|
||||
iced::application("Checkbox - Iced", Example::update, Example::view)
|
||||
.font(include_bytes!("../fonts/icons.ttf").as_slice())
|
||||
.run()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue