- added uid RiderVO prop
- fixed RiderCardDrawer layout - added fake avatars - avatars are now loaded dynammically
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package view;
|
||||
|
||||
import haxe.macro.Expr.Constant;
|
||||
import com.adobe.cairngorm.control.CairngormEvent;
|
||||
import com.adobe.cairngorm.control.CairngormEventDispatcher;
|
||||
import components.IconButton;
|
||||
@@ -62,8 +63,7 @@ class MainHeader extends LayoutGroup {
|
||||
lbl1 = new Label();
|
||||
lbl1.text = Constants.MENU_ITEM_0_STRING;
|
||||
lbl1.embedFonts = true;
|
||||
var fnt:Font = Assets.getFont(Constants.MONTSERRAT_MEDIUM_500);
|
||||
lbl1.textFormat = new TextFormat(fnt.fontName, Std.int(headerHeight * .3), Constants.MAIN_COLOR3);
|
||||
lbl1.textFormat = new TextFormat(Assets.getFont(Constants.MONTSERRAT_MEDIUM_500).fontName, Constants.FONT_SIZE_22, Constants.MAIN_COLOR3);
|
||||
addChild(lbl1);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user