mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed a small bug in SearchLayout where the category listviews were
overlapping the transport.
This commit is contained in:
parent
8429edf19b
commit
401b3cc19f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user