donation description level

This commit is contained in:
kremsy 2014-01-04 21:57:53 +01:00
parent c644550eff
commit b43a729b99

View File

@ -239,16 +239,16 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin {
//Description Label //Description Label
$descriptionFrame = new Frame(); $descriptionFrame = new Frame();
$maniaLink->add($descriptionFrame); $maniaLink->add($descriptionFrame);
$descriptionFrame->setPosition($posX - 50, $posY - 15); $descriptionFrame->setPosition($posX - 50, $posY - 5);
$descriptionFrame->setHAlign(Control::RIGHT); $descriptionFrame->setHAlign(Control::RIGHT);
$descriptionLabel = new Label(); $descriptionLabel = new Label();
$frame->add($descriptionLabel); $descriptionFrame->add($descriptionLabel);
$descriptionLabel->setAlign(Control::RIGHT, Control::TOP); $descriptionLabel->setAlign(Control::LEFT, Control::TOP);
$descriptionLabel->setSize(40, 4); $descriptionLabel->setSize(40, 4);
$descriptionLabel->setTextSize(2); $descriptionLabel->setTextSize(2);
$descriptionLabel->setVisible(true); $descriptionLabel->setVisible(true);
$descriptionLabel->setTextColor("FF0");
// Add items // Add items
$x = -2; $x = -2;