Hello everyone! With today’s release you’ll see an improved Constraints section in the Dropsource editor for styling your app pages with a more granular level of control.
As many of you will know, our previous Constraints controls allowed you to specify top, left, width, and height for each Element, using relative or proportional values. This made it tricky to achieve certain layouts, especially when it came to aligning to the right or bottom. With the new Constraints feature, you can choose to specify your Element size and position using a variety of modes for vertical and horizontal alignment.
Our main section for this feature in the help center documentation provides an overview:
And more detail in a few of our FAQs:
- How do I center an Element in the page?
- How do I make an Element scale relative to the page?
- Why can’t I edit a constraint value?
- Why is my constraint value changing?
This method of specifying your app layouts is clearly more fully featured than our previous iteration and does make a whole range of new layout use cases possible, but on the flipside it does make the controls a little more complex to learn and use - for that reason I’m extra keen to hear your perspectives on this development, so please tell us honestly how useful/usable (or not) you find it!
One other notable mention in this release is that Dropsource apps are now iOS 12 compatible (backwards compatible to iOS 11), so Dropsource will now write your iOS apps in Swift 4.2 and will work in Xcode 10. To update any existing apps just open a project and hit the Test button to create a new build! (Note that you will need Xcode updated to 10 in order to import your newly built apps.)