1
0
mirror of synced 2025-01-29 19:17:28 +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() {
if (hex::isProcessElevated()) {
ContentRegistry::Interface::addFooterItem([] {
ImGui::PushStyleColor(ImGuiCol_Text, ImGuiExt::GetCustomColorU32(ImGuiCustomCol_Highlight));
ImGui::TextUnformatted(ICON_VS_SHIELD);
ImGui::PopStyleColor();
});
}

View File

@ -104,7 +104,9 @@ namespace hex::plugin::builtin {
// Draw donation links
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));
ImGui::PopTextWrapPos();
ImGui::NewLine();
@ -120,7 +122,7 @@ namespace hex::plugin::builtin {
};
ImGui::NewLine();
if (ImGui::BeginTable("DonationLinks", 5, ImGuiTableFlags_SizingStretchSame, ImGui::GetContentRegionAvail())) {
if (ImGui::BeginTable("DonationLinks", 5, ImGuiTableFlags_SizingStretchSame)) {
ImGui::TableNextRow();
ImGui::TableNextColumn();