fixed alignment of lists
This commit is contained in:
parent
2b1d941f39
commit
75668612be
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue