- added uid RiderVO prop

- fixed RiderCardDrawer layout
- added fake avatars
- avatars are now loaded dynammically
This commit is contained in:
2025-12-18 15:51:34 +01:00
parent ee6cd5f6bf
commit 631c86d653
15 changed files with 206 additions and 67 deletions
+2 -2
View File
@@ -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);
}