在菜单栏点击design-rule。弹出规则设置界面设置即可。可以看看下面的链接分享的具体过程:
https://jingyan.baidu.com/article/3052f5a1dc8f1f97f31f86ba.html