Skip to content

希望MyRelativeLayout添加对子视图未设置布局时的 frame 的支持 #148

Open
@kchtin

Description

@kchtin

UIButton *view = [UIButton.alloc initWithFrame:(CGRectMake(20, 100, 60, 40))];
view.backgroundColor = UIColor.orangeColor;
[MyRelativeLayout.view addSubview:view];

目前view的显示 frame 为 (0, 0, 60, 40)

期望view 的显示 frame 为 (20, 100, 60, 40)

5EDBB9537212CC93C4AFA9E85FBCE6F9

4439E273F9BFDF37F3481E01480DD1FC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions