Make sandbox helper take a title as well
This commit is contained in:
parent
3f81c524cc
commit
bb71e8481e
21 changed files with 64 additions and 58 deletions
|
|
@ -4,9 +4,8 @@ use iced::widget::{button, column, container, progress_bar, text, Column};
|
|||
use iced::{Alignment, Element, Length, Subscription};
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::sandbox(Example::update, Example::view)
|
||||
iced::sandbox("Download Progress - Iced", Example::update, Example::view)
|
||||
.subscription(Example::subscription)
|
||||
.title("Download Progress - Iced")
|
||||
.run()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue