diff --git a/plugins/builtin/source/content/views/view_settings.cpp b/plugins/builtin/source/content/views/view_settings.cpp index 939851a58..47542e37c 100644 --- a/plugins/builtin/source/content/views/view_settings.cpp +++ b/plugins/builtin/source/content/views/view_settings.cpp @@ -23,7 +23,8 @@ namespace hex::plugin::builtin { ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX)); - if (ImGui::BeginPopupModal(View::toWindowName("hex.builtin.view.settings.name").c_str(), &this->getWindowOpenState(), ImGuiWindowFlags_AlwaysAutoResize)) { + ImGui::SetNextWindowSize(ImVec2(500, 300) * SharedData::globalScale, ImGuiCond_Always); + if (ImGui::BeginPopupModal(View::toWindowName("hex.builtin.view.settings.name").c_str(), &this->getWindowOpenState(), ImGuiWindowFlags_NoResize)) { if (ImGui::BeginTabBar("settings")) { for (auto &[category, entries] : ContentRegistry::Settings::getEntries()) { if (ImGui::BeginTabItem(LangEntry(category))) { @@ -49,6 +50,9 @@ namespace hex::plugin::builtin { void ViewSettings::drawMenu() { if (ImGui::BeginMenu("hex.menu.help"_lang)) { + + ImGui::Separator(); + if (ImGui::MenuItem("hex.builtin.view.settings.name"_lang)) { View::doLater([]{ ImGui::OpenPopup(View::toWindowName("hex.builtin.view.settings.name").c_str()); }); this->getWindowOpenState() = true;