ToolBarToggleButon text size correction
This commit is contained in:
@@ -59,7 +59,7 @@ class ToolbarToggleButton extends ToggleButton {
|
|||||||
// text
|
// text
|
||||||
var fnt:Font = Assets.getFont(Constants.MONTSERRAT_REGULAR_400);
|
var fnt:Font = Assets.getFont(Constants.MONTSERRAT_REGULAR_400);
|
||||||
textFormat = new TextFormat(fnt.fontName, textSize, unselectedColor);
|
textFormat = new TextFormat(fnt.fontName, textSize, unselectedColor);
|
||||||
selectedTextFormat = new TextFormat(fnt.fontName, 16, selectedColor);
|
selectedTextFormat = new TextFormat(fnt.fontName, textSize, selectedColor);
|
||||||
|
|
||||||
addEventListener(Event.CHANGE, onButtonStateChange);
|
addEventListener(Event.CHANGE, onButtonStateChange);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user