1
0
mirror of synced 2025-01-19 01:24:15 +01:00

fix: Pattern data view filter text box being too wide

This commit is contained in:
WerWolv 2024-06-09 21:36:25 +02:00
parent 32a8fcb84d
commit bf518b3590

View File

@ -1153,7 +1153,7 @@ namespace hex::ui {
this->resetEditing(); this->resetEditing();
} }
ImGui::PushItemWidth(ImGui::GetContentRegionAvail().x - ImGui::GetTextLineHeightWithSpacing() * 8.5F); ImGui::PushItemWidth(ImGui::GetContentRegionAvail().x - ImGui::GetTextLineHeightWithSpacing() * 9.4F);
if (ImGuiExt::InputTextIcon("##Search", ICON_VS_FILTER, m_filterText)) { if (ImGuiExt::InputTextIcon("##Search", ICON_VS_FILTER, m_filterText)) {
m_filter = parseRValueFilter(m_filterText).value_or(Filter{ }); m_filter = parseRValueFilter(m_filterText).value_or(Filter{ });
updateFilter(); updateFilter();