diff --git a/src/gui/elementsearch/ElementSearchActivity.cpp b/src/gui/elementsearch/ElementSearchActivity.cpp index 90084ec64..439d1cb61 100644 --- a/src/gui/elementsearch/ElementSearchActivity.cpp +++ b/src/gui/elementsearch/ElementSearchActivity.cpp @@ -192,7 +192,11 @@ void ElementSearchActivity::searchTools(String query) } } - scrollPanel->InnerSize = ui::Point(scrollPanel->Size.X, current.Y + 1); + if (current.X == 0) + { + current.Y -= 19; + } + scrollPanel->InnerSize = ui::Point(scrollPanel->Size.X, current.Y + 20); } void ElementSearchActivity::SetActiveTool(int selectionState, Tool * tool)