1
0
mirror of synced 2025-02-06 14:14:22 +01:00

impr: More UI adjustments

This commit is contained in:
WerWolv 2023-11-25 19:11:14 +01:00
parent 8e8a926ad9
commit 64be4e692c
2 changed files with 5 additions and 1 deletions

View File

@ -59,7 +59,9 @@ namespace hex::plugin::builtin {
void addFooterItems() { void addFooterItems() {
if (hex::isProcessElevated()) { if (hex::isProcessElevated()) {
ContentRegistry::Interface::addFooterItem([] { ContentRegistry::Interface::addFooterItem([] {
ImGui::PushStyleColor(ImGuiCol_Text, ImGuiExt::GetCustomColorU32(ImGuiCustomCol_Highlight));
ImGui::TextUnformatted(ICON_VS_SHIELD); ImGui::TextUnformatted(ICON_VS_SHIELD);
ImGui::PopStyleColor();
}); });
} }

View File

@ -104,7 +104,9 @@ namespace hex::plugin::builtin {
// Draw donation links // Draw donation links
ImGuiExt::Header("hex.builtin.view.help.about.donations"_lang); ImGuiExt::Header("hex.builtin.view.help.about.donations"_lang);
ImGui::PushTextWrapPos(ImGui::GetContentRegionAvail().x * 0.8F);
ImGuiExt::TextFormattedWrapped("{}", static_cast<const char *>("hex.builtin.view.help.about.thanks"_lang)); ImGuiExt::TextFormattedWrapped("{}", static_cast<const char *>("hex.builtin.view.help.about.thanks"_lang));
ImGui::PopTextWrapPos();
ImGui::NewLine(); ImGui::NewLine();
@ -120,7 +122,7 @@ namespace hex::plugin::builtin {
}; };
ImGui::NewLine(); ImGui::NewLine();
if (ImGui::BeginTable("DonationLinks", 5, ImGuiTableFlags_SizingStretchSame, ImGui::GetContentRegionAvail())) { if (ImGui::BeginTable("DonationLinks", 5, ImGuiTableFlags_SizingStretchSame)) {
ImGui::TableNextRow(); ImGui::TableNextRow();
ImGui::TableNextColumn(); ImGui::TableNextColumn();