-
Notifications
You must be signed in to change notification settings - Fork 257
使用链式调用设置布局属性
zhenglibao edited this page Mar 18, 2024
·
1 revision
FlexLib从3.3.0开始支持链式调用,用法如下:
UIView* view = ...;
view.flexLayout.left(10).width(50).heightAuto().alignItems(alignFlexEnd);
Flexbox Introduction & performance (in Chinese)
Tutorial 1: Create View Controller with xml layout
Tutorial 2: Create Table Cell with xml layout
Tutorial 3: Embed xml layout into traditional view hierarchy
Tutorial 4: Use custom view in xml layout
Tutorial 5: Create reusable view using xml layout file