Adjust Center of Measure in Xcode 6

前端 未结 5 828
后悔当初
后悔当初 2021-01-21 21:23

In the new \"Xcode 6\" the ability to change the center of measure of a button is missing.

In Xcode 5: http://imgur.com/jWHJp4v

Xcode 6: http://imgur.com/rsNayVZ

5条回答
  •  情歌与酒
    2021-01-21 21:44

    It's driving me crazy that the origin widget has been removed. It has made the placement of any object relative to another very difficult. I always use auto layout and I'm not sure how this improves it. Also, I'm not sure I follow the logic of improving a feature by making it more difficult to use. In the past, it was very helpful to set the "anchor point" of the origin and then adjust the object's position or size and have the frame grow on the unanchored sides. Now i have to break out the calculate and add position + size and then add buffer space to figure out where next object should start. And if I adjust the first object's frame in any way I need to break out the calculator again. Once you have a few objects that are relative to each other, it becomes vary painful to tweak any object's frame without having to recalculating everything.

    As a side note, the removal of the ability to delete a constraint right in the size inspect is also a confusing choice. Instead we have to go through the document outline and manually delete them there. This is not a big deal for the size constraints as they are keep in the object's sub-directory however finding edge related constrains is much more difficult as they are grouped with the rest of the edge constrains and can be difficult to find. Again, is this an example of encouraging / improving auto layout? Very frustrating!

提交回复
热议问题