PolyMeilex / rfd

Rusty File Dialog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After updating to MacOS ventura scroll bar does not appear

dathinaios opened this issue · comments

I am using this simple function:

pub fn pop_up(title: &str, description: &str) {
    let title = title.to_string();
    let description = description.to_string();
    std::thread::spawn(move || {
        MessageDialog::new()
            .set_title(title.as_str())
            .set_level(MessageLevel::Info)
            .set_description(description.as_str())
            .set_buttons(rfd::MessageButtons::Ok)
            .show();
    });
}

When the text is too long the window just extends beyond the limit of the screen. It used to just have a scroll bar.