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