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

Style tweaks (#2406)

* Note the namechange of egui::color to egui::ecolor

* Use a solid triangle for collapsing headers and windows

* Add Shadow::NONE

* Add Visuals::panel_fill, window_fill and window_stroke

* Bug fix: ComboBox::width sets the outer width of the ComboBox

* egui_extras::Table: add functions to access the `Ui` for the header/body

* ComboBox: use solid triangle

* Tweak default menu margin

* Nudge panel separator lines so they stay visible

* Update changelogs
This commit is contained in:
Emil Ernerfeldt
2022-12-08 10:55:13 +01:00
committed by GitHub
parent 5effc68ba4
commit da0a178701
12 changed files with 164 additions and 92 deletions

View File

@@ -176,7 +176,7 @@ impl eframe::App for WrapApp {
}
fn clear_color(&self, visuals: &egui::Visuals) -> egui::Rgba {
visuals.window_fill().into()
visuals.panel_fill.into()
}
fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) {