Add title to lorem example

This commit is contained in:
Alexandre Bury 2018-02-20 11:09:45 -08:00
parent 3f35b87757
commit 2cae042a85
2 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ fn main() {
// This is the alignment for the button // This is the alignment for the button
.h_align(HAlign::Center) .h_align(HAlign::Center)
.button("Quit", |s| s.quit()) .button("Quit", |s| s.quit())
.title("Unicode and wide-character support")
.full_screen(), .full_screen(),
); );
// Show a popup on top of the view. // Show a popup on top of the view.

View File

@ -1 +1,3 @@
This is a slightly larger example, showing an implementation of Minesweeper. This is a slightly larger example, showing an implementation of Minesweeper.
*This is a work in progress; many features are not implemented yet.*