子域跟主域 像素偏差问题





如图,两个尺寸设置的一样,代码里也更新了视图,像素对应不上

  • 这里加上sprite组件,spriteFrame设置为空

  • 勾上Fix Width这个

  • widget模式改为Aways