mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
fix: Icon text input boxes being wider than expected
This commit is contained in:
@@ -911,7 +911,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
auto &currOccurrences = *m_sortedOccurrences;
|
||||
|
||||
ImGui::PushItemWidth(-30_scaled);
|
||||
ImGui::PushItemWidth(-15_scaled);
|
||||
auto prevFilterLength = m_currFilter->length();
|
||||
if (ImGuiExt::InputTextIcon("##filter", ICON_VS_FILTER, *m_currFilter)) {
|
||||
if (prevFilterLength > m_currFilter->length())
|
||||
|
||||
Reference in New Issue
Block a user