Slider example: initialize title

This commit is contained in:
Alexandre Bury 2016-09-25 08:44:51 -07:00
parent af803a4587
commit 53a5bf19f3

View File

@ -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();