Fix different interfaces elements positions when changing size settings
This commit is contained in:
1 parent
4d1489ed34
commit
8e6fce3e2b
12 files changed
+411
-221
No files matched your search
@@ -243,7 +243,7 @@ class AdminLists implements ManialinkPageAnswerListener, CallbackListener, Usage
|
||||
*/
|
||||
public function getPlayersPerPage() {
|
||||
$pageheight = $this->maniaControl->getManialinkManager()->getStyleManager()->getListWidgetsHeight();
|
||||
return floor($pageheight * 0.82 / 4);
|
||||
return floor(($pageheight - 16) / 4);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user