header layout adjust
This commit is contained in:
@@ -56,10 +56,7 @@ class MainHeader extends LayoutGroup {
|
||||
lb1.embedFonts = true;
|
||||
var fnt:Font = Assets.getFont(Constants.MONTSERRAT_MEDIUM_500);
|
||||
|
||||
var tf:TextFormat = new TextFormat(fnt.fontName, Std.int(headerHeight * .4), Constants.MAIN_COLOR3);
|
||||
lb1.textFormat = tf;
|
||||
|
||||
lb1.layoutData = AnchorLayoutData.middleLeft();
|
||||
lb1.textFormat = new TextFormat(fnt.fontName, Std.int(headerHeight * .4), Constants.MAIN_COLOR3);
|
||||
addChild(lb1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user