diff --git a/plugins/builtin/source/content/welcome_screen.cpp b/plugins/builtin/source/content/welcome_screen.cpp index 688a0491b..112d5aad2 100644 --- a/plugins/builtin/source/content/welcome_screen.cpp +++ b/plugins/builtin/source/content/welcome_screen.cpp @@ -325,7 +325,7 @@ namespace hex::plugin::builtin { ImGui::EndTable(); } - ImGui::SetCursorPos(ImVec2(ImGui::GetWindowSize().x - ImGui::CalcTextSize("X").x * 2, 0)); + ImGui::SetCursorPos(ImVec2(ImGui::GetContentRegionAvail().x, 0)); if (ImGui::Hyperlink("X")) { auto provider = ImHexApi::Provider::createProvider("hex.builtin.provider.null"); if (provider != nullptr)