rustbasic

Results 62 comments of rustbasic

@emilk for example, This is necessary because after entering the `Login ID`, if you select the `Login Password` line to enter the password, part of the `Login ID` will be...

Try limiting the maximum size with `.max_size()`. Perhaps, it will have some effect.

`response = ui.label("test");` Receive a response in the form. Depending on the condition, check if you get the desired result with `response.enable = false`.

Perhaps in the current egui, scrolling is only allowed when the mouse pointer is hovering over it. This is related, right?

If you use `ViewportCommand::Transparent` and `ViewportCommand::InnerSize`, it will work as desired. ```rust if ui.button("transparent").clicked() { ui.ctx() .send_viewport_cmd(egui::ViewportCommand::Transparent(false)); } if ui.button("mini innersize").clicked() { ui.ctx() .send_viewport_cmd(egui::ViewportCommand::InnerSize(egui::Vec2::new(50.0, 50.0))); } ```

@799189288 This is not a bug in `egui`. This occurs because the `winit` library processes `innersize` before `decoration`.

@thmxv I think you should add '.enable_scrolling(main_enabled)', try that. ```rust fn main() { let mut main_enabled = false; let _ = eframe::run_simple_native( "Issue test", eframe::NativeOptions::default(), move |ctx, _frame| { egui::CentralPanel::default().show(ctx,...

Please also refer to issue #4312 while working. * Related #4312

> @rustbasic Do you have an minimal example that I can run to verify that visuals_mut works as expected for you? If you call `dark()` or `light()` to change the...

Yes, I think there are some ambiguous parts because I made the example in a hurry. If the following is added at the example, it seems to be the example...