Fixed a small bug in SearchLayout where the category listviews were

overlapping the transport.
This commit is contained in:
casey 2016-06-18 12:38:30 -07:00
parent 8429edf19b
commit 401b3cc19f

View File

@ -79,7 +79,7 @@ void SearchLayout::Layout() {
size_t labelY = SEARCH_HEIGHT; size_t labelY = SEARCH_HEIGHT;
size_t categoryWidth = cx / 3; size_t categoryWidth = cx / 3;
size_t categoryY = labelY + LABEL_HEIGHT; size_t categoryY = labelY + LABEL_HEIGHT;
size_t categoryHeight = cy - SEARCH_HEIGHT; size_t categoryHeight = cy - SEARCH_HEIGHT - 1;
size_t lastCategoryWidth = cx - (categoryWidth * 2); size_t lastCategoryWidth = cx - (categoryWidth * 2);
this->albumsLabel->MoveAndResize(0, labelY, categoryWidth, 1); this->albumsLabel->MoveAndResize(0, labelY, categoryWidth, 1);