mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-09 20:48:36 +00:00
Increase height slightly to avoid scrollbar
This commit is contained in:
parent
64022fbb28
commit
8b1a1d2e16
BIN
hello_world.png
BIN
hello_world.png
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 7.9 KiB |
@ -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!("こんにちは世界!"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user