Xcode 6.3.2 - Can't enter negative values in Layout Builder constraints

北城余情 提交于 2019-12-23 16:42:11

问题


My Xcode version is 6.3.2 (6D2105). Whenever I try to enter a negative value for any constraint constant in the Layout Builder, the value turns to 0. Even if the value was already negative and I've just changed the number itself, the value becomes 0.

Update: Still happens on 7.3 (7D175). Machine: El Capitan 10.11.4 (15E65), running on VMWare MacOS 10.8 host.


回答1:


Uncheck "Constrain to margins" checkbox in the pin menu while adding spacing to nearest neighbour for the new constraints.



来源:https://stackoverflow.com/questions/30909547/xcode-6-3-2-cant-enter-negative-values-in-layout-builder-constraints

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!