Change type of TextSize to float
This commit is contained in:
@@ -521,7 +521,7 @@ class Label extends Control implements Actionable, Linkable, NewLineable, MultiL
|
||||
*/
|
||||
public function setTextSize($textSize)
|
||||
{
|
||||
$this->textSize = (int)$textSize;
|
||||
$this->textSize = (float)$textSize;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user