Added : RidesrScreen, ToolBar

Riders list is now populated with JSON
TODO : resize list and tolbar
This commit is contained in:
2025-11-23 22:11:53 +01:00
parent 858568a235
commit e8789829ae
5 changed files with 145 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
package view;
import feathers.layout.VerticalLayout;
import feathers.controls.ScrollContainer;
class RidersScreen extends ScrollContainer {
private var tb:ToolBar;
private var rl:RidersList;
public function new() {
super();
}
override private function initialize():Void {
super.initialize();
var vl:VerticalLayout = new VerticalLayout();
vl.verticalAlign = TOP;
layout = vl;
tb = new ToolBar();
addChild(tb);
rl = new RidersList();
addChild(rl);
}
}