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:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user