mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +00:00
Slider example: initialize title
This commit is contained in:
parent
af803a4587
commit
53a5bf19f3
@ -19,6 +19,7 @@ fn main() {
|
||||
s.add_layer(Dialog::text(format!("Lucky number {}!", v))
|
||||
.button("Ok", Cursive::quit));
|
||||
}))
|
||||
.title("[ 7 ]")
|
||||
.with_id("dialog"));
|
||||
|
||||
siv.run();
|
||||
|
Loading…
Reference in New Issue
Block a user