Updated style of DonationsPlugin

This commit is contained in:
Jocy 2017-04-03 22:06:06 +02:00
parent 9ab81d0614
commit 738c7a134c

View File

@ -223,7 +223,7 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin {
$description = "Donate {$value} Planets"; $description = "Donate {$value} Planets";
$label->addTooltipLabelFeature($descriptionLabel, $description); $label->addTooltipLabelFeature($descriptionLabel, $description);
$posX -= strlen($value) * 2 + 1.7; $posX -= strlen($value) * 1.6 + 2.5;
} }
$descriptionFrame->setPosition($origPosX + $posX - $width + $itemMarginFactorX, $posY); $descriptionFrame->setPosition($origPosX + $posX - $width + $itemMarginFactorX, $posY);