use popout::{Color32, LogicalSize, RichText, dialog::Dialog};
fn main() {
let error = "Something went wrong :(";
Dialog::new()
.with_title("Error")
.with_line(RichText::new("Error").heading().color(Color32::RED))
.with_line(error)
.with_button("Close")
.with_size(LogicalSize::new(200, 100))
.show()
.unwrap();
}