remove size limit of force close button, as it could be too large on various scaling options (why was it even sized)

This commit is contained in:
2025-11-22 09:26:40 +00:00
parent 8943e61f3a
commit 0f65c76055
+1 -4
View File
@@ -112,10 +112,7 @@ impl App {
ui.build_menu(&mut self.launch.selected);
});
});
let force_close_button = ui.add_sized(
[108.0, 0.0],
egui::Button::new(&self.force_close.button_text),
);
let force_close_button = ui.button(&self.force_close.button_text);
self.force_close
.prompt(force_close_button.clicked(), &mut self.system_info);
}