mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Improve the frame around ImageButton
Helps https://github.com/emilk/egui/issues/721
This commit is contained in:
@@ -28,7 +28,7 @@ fn main() {
|
||||
let mut egui = egui_glium::EguiGlium::new(&display);
|
||||
//load image by image crate
|
||||
let image = image::load(
|
||||
Cursor::new(&include_bytes!("../../eframe/examples/rust-logo-512x512.png")[..]),
|
||||
Cursor::new(&include_bytes!("../../eframe/examples/rust-logo-256x256.png")[..]),
|
||||
image::ImageFormat::Png,
|
||||
)
|
||||
.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user