fix tooltip function
This commit is contained in:
parent
8e6fce3e2b
commit
52945ac7f7
@ -140,7 +140,7 @@ class DirectoryBrowser implements ManialinkPageAnswerListener {
|
||||
$height = $this->maniaControl->getManialinkManager()->getStyleManager()->getListWidgetsHeight();
|
||||
|
||||
$innerWidth = $width - 2;
|
||||
$innerHeigth = $height - 20;
|
||||
$innerHeigth = $height - 22;
|
||||
|
||||
$lineHeight = 4.;
|
||||
|
||||
@ -181,7 +181,7 @@ class DirectoryBrowser implements ManialinkPageAnswerListener {
|
||||
|
||||
$tooltipLabel = new Label();
|
||||
$repositionnedFrame->addChild($tooltipLabel);
|
||||
$tooltipLabel->setPosition(3, $height + 5);
|
||||
$tooltipLabel->setPosition(3, $height * -1 + 10);
|
||||
$tooltipLabel->setSize($width * 0.8, 5);
|
||||
$tooltipLabel->setHorizontalAlign($tooltipLabel::LEFT);
|
||||
$tooltipLabel->setTextSize(1);
|
||||
|
Loading…
Reference in New Issue
Block a user