Im a Student and i code in my free time
regenjacob / egui_logger Goto Github PK
View Code? Open in Web Editor NEWa log implementation for egui
License: MIT License
a log implementation for egui
License: MIT License
I have an egui App with eframe + 4 Panels. The egui logger widget is in the bottom panel:
impl eframe::App for TemplateApp {
fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) {
egui::TopBottomPanel::top("top_panel").show(ctx, |ui| {
// ...
});
egui::SidePanel::left("side_panel").show(ctx, |ui| {
// ...
});
egui::CentralPanel::default().show(ctx, |ui| {
// ...
});
egui::TopBottomPanel::bottom("bottom_panel").show(ctx, |ui| {
egui_logger::logger_ui(ui);
});
}
}
When I start this application I get this weird creep in window size:
I would expect it to have a fixed size (at least as long as no new messages appear). Any idea how to resolve this?
I am trying to use egui_logger with multi_log (which seems pretty dead as a project, but anyhow). I think all that should be done to make this possible (and probably to allow integrating with other similar crates) is to make the EguiLogger
struct public. From what I've observed using this, it seems to work ok. I can open a PR if needed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.