design fixes
This commit is contained in:
parent
96c01c3a5e
commit
a80bbe0f3d
@ -415,7 +415,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
|
|||||||
$label->setAlign(Control::CENTER, Control::CENTER);
|
$label->setAlign(Control::CENTER, Control::CENTER);
|
||||||
$label->setSize($width - 5, $height);
|
$label->setSize($width - 5, $height);
|
||||||
$label->setTextSize(1.3);
|
$label->setTextSize(1.3);
|
||||||
$label->setText('Vote for ' . $this->currentVote["Name"]);
|
$label->setText('$sVote for ' . $this->currentVote["Name"]);
|
||||||
//$label->setTextColor("900");
|
//$label->setTextColor("900");
|
||||||
|
|
||||||
/*$label = new Label_Text();
|
/*$label = new Label_Text();
|
||||||
@ -435,7 +435,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
|
|||||||
$label->setSize($width - 5, 2);
|
$label->setSize($width - 5, 2);
|
||||||
$label->setTextSize(1);
|
$label->setTextSize(1);
|
||||||
$label->setTextColor("F80");
|
$label->setTextColor("F80");
|
||||||
$label->setText("Started by " . $this->voter->nickname);
|
$label->setText('$sStarted by ' . $this->voter->nickname);
|
||||||
|
|
||||||
|
|
||||||
//Time Gaunge
|
//Time Gaunge
|
||||||
@ -551,8 +551,8 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
|
|||||||
$frame->add($iconFrame);
|
$frame->add($iconFrame);
|
||||||
|
|
||||||
$iconFrame->setSize($itemSize, $itemSize);
|
$iconFrame->setSize($itemSize, $itemSize);
|
||||||
$itemQuad = new Quad_Icons64x64_1();
|
$itemQuad = new Quad_UIConstruction_Buttons();
|
||||||
$itemQuad->setSubStyle($itemQuad::SUBSTYLE_StateSuggested);
|
$itemQuad->setSubStyle($itemQuad::SUBSTYLE_Add);
|
||||||
$itemQuad->setSize($itemSize, $itemSize);
|
$itemQuad->setSize($itemSize, $itemSize);
|
||||||
$iconFrame->add($itemQuad);
|
$iconFrame->add($itemQuad);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user