fixed alignment of lists

This commit is contained in:
louis 2016-05-28 13:21:32 +02:00
parent 2b1d941f39
commit 75668612be
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ void cViewList::PreCache(void) {
step = width / numElements;
}
int start = 0;
int start = y;
if (align == eAlign::center) {
if (orientation == eOrientation::vertical) {
start = y + (height - numElements * step) / 2;