未验证 提交 5ed62dc9 编写于 作者: L LiZhuoyuan 提交者: GitHub

Update README_CN.md

上级 8b7e4f75
...@@ -75,6 +75,8 @@ Container( ...@@ -75,6 +75,8 @@ Container(
``` ```
#### 适配字体: #### 适配字体:
传入设计稿的px尺寸:
``` ```
ScreenUtil().setSp(28) //传入字体大小,根据系统的“字体大小”辅助选项来进行缩放 ScreenUtil().setSp(28) //传入字体大小,根据系统的“字体大小”辅助选项来进行缩放
ScreenUtil().setSp(28,false) //传入字体大小,不会根据系统的“字体大小”辅助选项来进行缩放 ScreenUtil().setSp(28,false) //传入字体大小,不会根据系统的“字体大小”辅助选项来进行缩放
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册