您的位置:首页 > 大数据 > 人工智能

AS- This view is not constrained vertically. At runtime it will jump to the left/(0,0) unless you

2017-08-03 13:02 621 查看
AS- This view is not constrained vertically. At runtime it will jump to the left/(0,0) unless you add constraint.

呐,design 拖拽按钮呀文字框过去的时候,text状态会出现的红色警告,说没有添加约束,运行时会跳到(0,0)左上角位置喔

然后呢,design状态下拖过去之后呢,在这小道具右键,Constraint(约束)  Layout->Infer Constraints,点一下,就ok啦~
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐