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
|
|
@ -11,10 +11,13 @@ use circular::Circular;
|
|||
use linear::Linear;
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::sandbox(LoadingSpinners::update, LoadingSpinners::view)
|
||||
.title("Loading Spinners - Iced")
|
||||
.antialiased()
|
||||
.run()
|
||||
iced::sandbox(
|
||||
"Loading Spinners - Iced",
|
||||
LoadingSpinners::update,
|
||||
LoadingSpinners::view,
|
||||
)
|
||||
.antialiased()
|
||||
.run()
|
||||
}
|
||||
|
||||
struct LoadingSpinners {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue