Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of egui Context.set_pixels_per_point don't work #19

Closed
buxx opened this issue Jun 2, 2022 · 1 comment
Closed

Usage of egui Context.set_pixels_per_point don't work #19

buxx opened this issue Jun 2, 2022 · 1 comment

Comments

@buxx
Copy link
Contributor

buxx commented Jun 2, 2022

Hello,

I'm trying to use Context.set_pixels_per_point don't work function, but it has no effect. Example :by modifying README example :

        egui_macroquad::ui(|egui_ctx| {
            egui::Window::new("egui ❤ macroquad").show(egui_ctx, |ui| {
                ui.ctx().set_pixels_per_point(2.0);
                ui.label("Test");
            });
        });

Note : I tried to call it with egui_macroquad::cfg(|egui_cfg| egui_cfg.set_pixels_per_point(2.0)); without effect too.

Do you know why it has no effect ?

@buxx
Copy link
Contributor Author

buxx commented Jun 2, 2022

Just realized what is a egui-miniquad bug. I opened issues here : not-fl3/egui-miniquad#39

@buxx buxx closed this as completed Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant