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
$descriptionFrame = new Frame();
$maniaLink->add($descriptionFrame);
$descriptionFrame->setPosition($posX - 50, $posY - 15);
$descriptionFrame->setPosition($posX - 50, $posY - 5);
$descriptionFrame->setHAlign(Control::RIGHT);
$descriptionLabel = new Label();
$frame->add($descriptionLabel);
$descriptionLabel->setAlign(Control::RIGHT, Control::TOP);
$descriptionFrame->add($descriptionLabel);
$descriptionLabel->setAlign(Control::LEFT, Control::TOP);
$descriptionLabel->setSize(40, 4);
$descriptionLabel->setTextSize(2);
$descriptionLabel->setVisible(true);
$descriptionLabel->setTextColor("FF0");
// Add items
$x = -2;