mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
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
Block a user