1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00

Improve size negotiation code.

Better enfocred minimum sizes.
You can now have windows that expand to fit their content.
This commit is contained in:
Emil Ernerfeldt
2020-05-01 02:08:01 +02:00
parent 7cd8ac2bbf
commit b73fbb33d8
11 changed files with 332 additions and 159 deletions

View File

@@ -10,7 +10,7 @@ use {
emigui::{
color::srgba,
containers::*,
example_app::ExampleApp,
example_app::ExampleWindow,
label,
widgets::{Label, Separator},
Align, Emigui, RawInput, TextStyle, *,
@@ -22,7 +22,7 @@ use wasm_bindgen::prelude::*;
#[wasm_bindgen]
pub struct State {
example_app: ExampleApp,
example_app: ExampleWindow,
emigui: Emigui,
webgl_painter: emigui_wasm::webgl::Painter,