impr: More UI adjustments
This commit is contained in:
parent
8e8a926ad9
commit
64be4e692c
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user