change the fontsize of fix the flooring
This commit is contained in:
parent
80f4e867b6
commit
7b10300713
@ -209,7 +209,7 @@ class ActionsMenu implements SidebarMenuEntryListener, CallbackListener, Maniali
|
||||
$descriptionLabel->setPosition($playerPos->getX() - count($this->playerMenuItems) * $itemSize * 1.05 - 5, $playerPos->getY());
|
||||
$descriptionLabel->setAlign($descriptionLabel::RIGHT, $descriptionLabel::TOP);
|
||||
$descriptionLabel->setSize(40, 4);
|
||||
$descriptionLabel->setTextSize(1.4);
|
||||
$descriptionLabel->setTextSize(1);
|
||||
$descriptionLabel->setTextColor('fff');
|
||||
|
||||
// Player Menu
|
||||
@ -285,7 +285,7 @@ class ActionsMenu implements SidebarMenuEntryListener, CallbackListener, Maniali
|
||||
$descriptionLabel->setPosition($adminPos->getX() - count($this->adminMenuItems) * $itemSize * 1.05 - 5, $adminPos->getY());
|
||||
$descriptionLabel->setAlign($descriptionLabel::RIGHT, $descriptionLabel::TOP);
|
||||
$descriptionLabel->setSize(40, 4);
|
||||
$descriptionLabel->setTextSize(1.4);
|
||||
$descriptionLabel->setTextSize(1);
|
||||
$descriptionLabel->setTextColor('fff');
|
||||
|
||||
// Admin Menu
|
||||
|
@ -168,7 +168,7 @@ class AdminLists implements ManialinkPageAnswerListener, CallbackListener, Usage
|
||||
$rightLabel = new Label_Text();
|
||||
$playerFrame->addChild($rightLabel);
|
||||
$rightLabel->setX($posX + 13.9);
|
||||
$rightLabel->setTextSize(0.8);
|
||||
$rightLabel->setTextSize(0);
|
||||
$rightLabel->setZ(10);
|
||||
$rightLabel->setText($this->maniaControl->getAuthenticationManager()->getAuthLevelAbbreviation($admin));
|
||||
$description = $this->maniaControl->getAuthenticationManager()->getAuthLevelName($admin) . " " . $admin->nickname;
|
||||
|
@ -305,7 +305,7 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
|
||||
$awardLabel->setX($posX + 98.5);
|
||||
$awardLabel->setHorizontalAlign($awardLabel::LEFT);
|
||||
$awardLabel->setText($map->awards);
|
||||
$awardLabel->setTextSize(1.3);
|
||||
$awardLabel->setTextSize(1);
|
||||
}
|
||||
|
||||
//Map Karma
|
||||
|
@ -23,7 +23,7 @@ class LabelLine implements UsageInformationAble {
|
||||
|
||||
private $horizontalAlign = Label::LEFT;
|
||||
private $style = Label_Text::STYLE_TextCardSmall;
|
||||
private $textSize = 1.5;
|
||||
private $textSize = 1;
|
||||
private $textColor = 'FFF';
|
||||
private $posZ = 0;
|
||||
private $prefix = '';
|
||||
|
@ -376,7 +376,7 @@ class ManialinkManager implements ManialinkPageAnswerListener, CallbackListener,
|
||||
// define standard properties
|
||||
$hAlign = (isset($properties['hAlign']) ? $properties['hAlign'] : Control::LEFT);
|
||||
$style = (isset($properties['style']) ? $properties['style'] : Label_Text::STYLE_TextCardSmall);
|
||||
$textSize = (isset($properties['textSize']) ? $properties['textSize'] : 1.5);
|
||||
$textSize = (isset($properties['textSize']) ? $properties['textSize'] : 1);
|
||||
$textColor = (isset($properties['textColor']) ? $properties['textColor'] : 'FFF');
|
||||
$posZ = (isset($properties['posZ']) ? $properties['posZ'] : 0);
|
||||
|
||||
|
@ -129,7 +129,7 @@ class StyleManager implements UsageInformationAble {
|
||||
$frame->addChild($label);
|
||||
$label->setPosition(-$width / 2 + 5, 0);
|
||||
$label->setHorizontalAlign($label::LEFT);
|
||||
$label->setTextSize(1.3);
|
||||
$label->setTextSize(1);
|
||||
$label->setText('Search: ');
|
||||
|
||||
$entry = new Entry();
|
||||
@ -245,7 +245,7 @@ class StyleManager implements UsageInformationAble {
|
||||
|
||||
$pageCountLabel = new Label_Text();
|
||||
$frame->addChild($pageCountLabel);
|
||||
$pageCountLabel->setHorizontalAlign($pageCountLabel::RIGHT)->setPosition($width * 0.40, $height * -0.44, 1)->setStyle($pageCountLabel::STYLE_TextTitle1)->setTextSize(1.3);
|
||||
$pageCountLabel->setHorizontalAlign($pageCountLabel::RIGHT)->setPosition($width * 0.40, $height * -0.44, 1)->setStyle($pageCountLabel::STYLE_TextTitle1)->setTextSize(1);
|
||||
|
||||
if ($paging) {
|
||||
$paging->addButtonControl($pagerNext)->addButtonControl($pagerPrev)->setLabel($pageCountLabel);
|
||||
|
@ -554,7 +554,7 @@ class PlayerActions implements EchoListener, CommunicationListener, UsageInforma
|
||||
$label->setStyle($label::STYLE_TextCardMedium);
|
||||
$label->setText($line);
|
||||
$label->setTextColor('ff0');
|
||||
$label->setTextSize(1.3);
|
||||
$label->setTextSize(1);
|
||||
$posY -= 4;
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ class PlayerDetailed {
|
||||
$mainLabel = new Label_Text();
|
||||
$frame->addChild($mainLabel);
|
||||
$mainLabel->setPosition($posX, $posY);
|
||||
$mainLabel->setTextSize(1.2);
|
||||
$mainLabel->setTextSize(1);
|
||||
$mainLabel->setHorizontalAlign($mainLabel::LEFT);
|
||||
$mainLabel->setText('Login: ');
|
||||
$mainLabel->setWidth($colWidth);
|
||||
@ -150,7 +150,7 @@ class PlayerDetailed {
|
||||
$frame->addChild($mainLabel);
|
||||
$mainLabel->setPosition($posX + $colWidth, $posY);
|
||||
$mainLabel->setText($target->login);
|
||||
$mainLabel->setTextSize(1.2);
|
||||
$mainLabel->setTextSize(1);
|
||||
$mainLabel->setHorizontalAlign($mainLabel::LEFT);
|
||||
$mainLabel->setWidth($colWidth);
|
||||
|
||||
@ -266,7 +266,7 @@ class PlayerDetailed {
|
||||
$label->setPosition($posX + $this->padding, $posY);
|
||||
$label->setText($statProperties->name);
|
||||
$label->setHorizontalAlign($label::LEFT);
|
||||
$label->setTextSize(1.5);
|
||||
$label->setTextSize(1);
|
||||
$label->setWidth($colWidth / 2 - $this->padding);
|
||||
|
||||
$label = new Label_Text();
|
||||
@ -274,7 +274,7 @@ class PlayerDetailed {
|
||||
$label->setPosition($posX + $colWidth - $this->padding, $posY);
|
||||
$label->setHorizontalAlign(Label_Text::RIGHT);
|
||||
$label->setText($value);
|
||||
$label->setTextSize(1.5);
|
||||
$label->setTextSize(1);
|
||||
$label->setWidth($colWidth / 2 - $this->padding);
|
||||
|
||||
$posY -= 4;
|
||||
|
@ -300,7 +300,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer
|
||||
$playerFrame->addChild($rightLabel);
|
||||
$rightLabel->setX($posX + 13.9);
|
||||
$rightLabel->setText($this->maniaControl->getAuthenticationManager()->getAuthLevelAbbreviation($listPlayer->authLevel));
|
||||
$rightLabel->setTextSize(0.8);
|
||||
$rightLabel->setTextSize(0);
|
||||
$rightLabel->setTextColor('fff');
|
||||
|
||||
$description = $this->maniaControl->getAuthenticationManager()->getAuthLevelName($listPlayer) . ' ' . $listPlayer->nickname;
|
||||
@ -464,7 +464,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer
|
||||
//Settings
|
||||
$posX = $width / 2 + 0.2;
|
||||
$width = 35;
|
||||
$textSize = 1.5;
|
||||
$textSize = 1;
|
||||
$textColor = 'fff';
|
||||
$quadWidth = $width - 7;
|
||||
|
||||
|
@ -322,7 +322,7 @@ class SimpleStatsList implements ManialinkPageAnswerListener, CallbackListener,
|
||||
|
||||
$pageCountLabel = new Label_Text();
|
||||
$frame->addChild($pageCountLabel);
|
||||
$pageCountLabel->setHorizontalAlign($pageCountLabel::RIGHT)->setPosition($width * 0.40, $height * -0.44, 1)->setStyle($pageCountLabel::STYLE_TextTitle1)->setTextSize(1.3);
|
||||
$pageCountLabel->setHorizontalAlign($pageCountLabel::RIGHT)->setPosition($width * 0.40, $height * -0.44, 1)->setStyle($pageCountLabel::STYLE_TextTitle1)->setTextSize(1);
|
||||
|
||||
$paging->addButtonControl($pagerNext)->addButtonControl($pagerPrev)->setLabel($pageCountLabel);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user