Generating a specification for a widget – 1.2.0 Preview

This post is another in a series of posts previewing the features we are releasing in version 1.2.0 of ANTETYPE. The focus of this post is on the new features we have implemented to support creating specifications of widgets.

In version 1.2.0 of ANTETYPE we have added a new function that generates a “specification screen” for a widget.

To create a specification select a widget in the widget inspector and choose “Create Specification Screen”, this will create a new screen with the prefix SPEC: and the widget name. In the example below we have done this for a drop down menu widget.

at_spec_drop_dowb_menu

For the normal state there are width and height measures and a list of the colors and fonts used in the widget. For each of the other states there is also a list of the colors and fonts that are used in the widget and any components if they differ from the normal state.

At first glance the new specification screens would seem to be useful only once design has been completed when the measurements, colors and fonts will no longer change, but the specification screens hold some secrets.

If you modify the widget, this screen will reflect the changes, so if you change the width of the widget not only will the instances on the specification screen change but so will the measures, fonts and colors.

at_spec_drop_down_changes

In this example we have change the width and height and the two measures have also automatically updated. The same happens for the fonts and colors and changes in the instances will update the text and color swatches in the specification screen too.

The specification screen is just the same as any other screen, the only difference is that the components on the specification screen are using another new feature of 1.2.0 – Property Binding, to dynamically load the values of other widgets. A follow up post will cover more details of Property Binding in ANTETYPE 1.2.0.

This post is in a series previewing ANTETYPE 1.2.0, expect more over the coming days.

If you would like to sign up for to our Early Access Program you can access preview versions of our upcoming releases and a preview version of 1.2.0 is currently available for current EAP Members.

UPDATE: Post edited to change data binding to property binding and include link.

3 Responses to Generating a specification for a widget – 1.2.0 Preview

Leave a Reply