small fix at customvotes widget

This commit is contained in:
Jocy 2017-03-28 16:46:40 +02:00
parent 95d55836de
commit 69c5fdc2a6

View File

@ -325,7 +325,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
$menuEntries = count($this->voteMenuItems);
$descriptionFrame = new Frame();
$maniaLink->addChild($descriptionFrame);
$descriptionFrame->setPosition($posX - $menuEntries * $itemSize * 1.15 - 6, $posY);
$descriptionFrame->setPosition($posX - $menuEntries * $itemSize * 1.05 - 5, $posY);
$descriptionLabel = new Label();
$descriptionFrame->addChild($descriptionLabel);