1
0
mirror of synced 2024-11-28 09:30:51 +01:00

ui: Make file chooser popup bigger

This commit is contained in:
WerWolv 2023-01-28 14:28:06 +01:00
parent 197e86f327
commit a142d4fe20

View File

@ -144,7 +144,7 @@ namespace hex::plugin::builtin {
ImGui::SetNextWindowPos(ImGui::GetMainViewport()->GetCenter(), ImGuiCond_Appearing, ImVec2(0.5F, 0.5F));
if (ImGui::BeginPopupModal("hex.builtin.common.choose_file"_lang, &opened, ImGuiWindowFlags_AlwaysAutoResize)) {
if (ImGui::BeginListBox("##files", ImVec2(300_scaled, 0))) {
if (ImGui::BeginListBox("##files", scaled(ImVec2(500, 400)))) {
u32 index = 0;
for (auto &path : s_selectableFiles) {