GUI: force a minimum file picker window size

see issue #16
This commit is contained in:
tildearrow 2022-01-20 00:13:50 -05:00
parent 7ad715da38
commit 3a87017821

View file

@ -3501,7 +3501,7 @@ bool FurnaceGUI::loop() {
drawPattern();
drawSettings();
if (ImGuiFileDialog::Instance()->Display("FileDialog")) {
if (ImGuiFileDialog::Instance()->Display("FileDialog",ImGuiWindowFlags_NoCollapse,ImVec2(600.0f*dpiScale,400.0f*dpiScale))) {
if (ImGuiFileDialog::Instance()->IsOk()) {
fileName=ImGuiFileDialog::Instance()->GetFilePathName();
if (fileName!="") {