Change type of TextSize to float
This commit is contained in:
		@@ -315,7 +315,7 @@ class Entry extends Control implements NewLineable, Scriptable, Styleable, TextF
 | 
			
		||||
     */
 | 
			
		||||
    public function setTextSize($textSize)
 | 
			
		||||
    {
 | 
			
		||||
        $this->textSize = (int)$textSize;
 | 
			
		||||
        $this->textSize = (float)$textSize;
 | 
			
		||||
        return $this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -347,7 +347,7 @@ class TextEdit extends Control implements MultiLineable, Scriptable, Styleable,
 | 
			
		||||
     */
 | 
			
		||||
    public function setTextSize($textSize)
 | 
			
		||||
    {
 | 
			
		||||
        $this->textSize = (int)$textSize;
 | 
			
		||||
        $this->textSize = (float)$textSize;
 | 
			
		||||
        return $this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -145,7 +145,7 @@ class Format implements BackgroundColorable, BgColorable, Renderable, Styleable,
 | 
			
		||||
     */
 | 
			
		||||
    public function setTextSize($textSize)
 | 
			
		||||
    {
 | 
			
		||||
        $this->textSize = (int)$textSize;
 | 
			
		||||
        $this->textSize = (float)$textSize;
 | 
			
		||||
        return $this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -367,7 +367,7 @@ class Style implements BackgroundColorable, BgColorable, Colorable, Renderable,
 | 
			
		||||
     */
 | 
			
		||||
    public function setTextSize($textSize)
 | 
			
		||||
    {
 | 
			
		||||
        $this->textSize = (int)$textSize;
 | 
			
		||||
        $this->textSize = (float)$textSize;
 | 
			
		||||
        return $this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user