mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
ui: Use pretty hexadecimal input fields in more places
This commit is contained in:
@@ -302,9 +302,7 @@ namespace hex::plugin::builtin::prv {
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::TextUnformatted("0x");
|
||||
ImGui::SameLine();
|
||||
ImGui::InputScalar("hex.builtin.common.size"_lang, ImGuiDataType_U64, &this->m_size, nullptr, nullptr, "%llx", ImGuiInputTextFlags_CharsHexadecimal);
|
||||
ImGui::InputHexadecimal("hex.builtin.common.size"_lang, &this->m_size, ImGuiInputTextFlags_CharsHexadecimal);
|
||||
|
||||
if (this->m_port < 0)
|
||||
this->m_port = 0;
|
||||
|
||||
Reference in New Issue
Block a user