Haxe port of xrope layout library