Increase height slightly to avoid scrollbar

This commit is contained in:
Joonas Javanainen 2020-03-16 12:09:52 +02:00
parent 64022fbb28
commit 8b1a1d2e16
No known key found for this signature in database
GPG Key ID: D39CCA5CB19B9179
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@ -6,7 +6,7 @@ fn main() {
let system = support::init(file!());
system.main_loop(move |_, ui| {
Window::new(im_str!("Hello world"))
.size([300.0, 100.0], Condition::FirstUseEver)
.size([300.0, 110.0], Condition::FirstUseEver)
.build(ui, || {
ui.text(im_str!("Hello world!"));
ui.text(im_str!("こんにちは世界!"));