ui: Improve the look and feel of the information view

This commit is contained in:
WerWolv
2023-03-17 17:07:39 +01:00
parent 1f8645fd43
commit 466dacaab4
14 changed files with 99 additions and 60 deletions

View File

@@ -113,9 +113,7 @@ namespace hex::plugin::builtin {
ImHexApi::HexEditor::setSelection(0, 0);
}
ImGui::NewLine();
ImGui::TextUnformatted("hex.builtin.view.disassembler.settings.header"_lang);
ImGui::Separator();
ImGui::Header("hex.builtin.common.settings"_lang);
if (ImGui::Combo("hex.builtin.view.disassembler.arch"_lang, reinterpret_cast<int *>(&this->m_architecture), Disassembler::ArchitectureNames, Disassembler::getArchitectureSupportedCount()))
this->m_mode = cs_mode(0);