• Aloshi's avatar
    Scraper GUIs open faster. · 654b93dd
    Aloshi authored
    The ScraperSearchComponent uses a custom font size for metadata/descriptions.
    This was causing a short hang when it got resized multiple times (because it would rasterize like 4 fonts unnecessarily).
    So, I added an "update" parameter to ComponentGrid::setRowHeightPerc/setColWidthPerc.
    This can be used to only cause *one* resize/reposition "event" when setting multiple cell sizes (as is typical) by passing "false" as the last argument and then using ComponentGrid::setSize after setting all of the cell sizes.
GuiGameScraper.cpp 3.99 KB