change the fontsize of fix the flooring

This commit is contained in:
Beu
2022-04-14 02:49:42 +02:00
parent 80f4e867b6
commit 7b10300713
10 changed files with 16 additions and 16 deletions

View File

@ -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 = '';

View File

@ -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);

View File

@ -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);