1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 22:30:03 -04:00

Grid layout and widget gallery (#106)

* Wrap Layout and Region into a new struct Placer

* [egui] Add a simple grid layout

* Refactor CollapsingHeader code (simplify header painting)

* Fix: allow putting a CollapsingHeader inside of a grid layout

* [demo] Add a widget gallery

Closes https://github.com/emilk/egui/issues/88

* Add optional striped grid background
This commit is contained in:
Emil Ernerfeldt
2021-01-11 20:58:36 +01:00
committed by GitHub
parent d344c9d9a3
commit 0b10fa5c29
12 changed files with 663 additions and 174 deletions

View File

@@ -17,13 +17,14 @@ mod scrolls;
mod sliders;
mod tests;
pub mod toggle_switch;
mod widget_gallery;
mod widgets;
mod window_options;
pub use {
app::*, dancing_strings::DancingStrings, demo_window::DemoWindow, demo_windows::*,
drag_and_drop::*, font_book::FontBook, painting::Painting, scrolls::Scrolls, sliders::Sliders,
tests::Tests, widgets::Widgets, window_options::WindowOptions,
tests::Tests, widget_gallery::*, widgets::Widgets, window_options::WindowOptions,
};
// ----------------------------------------------------------------------------