Version 1.14.1.1


Channels:

Alpha

Release date:

01/01/0001 00:00:00


Release notes

(Hotfix from version 1.14.0.1 which fixes a small issue where the Data Set property was hidden).

No changes to animations.


Updates merged from beta 1.14.1:

This update introduces a new feature called "Overrides", which greatly extends the functionality of data binding. An explanation of the feature is below.

New features:



Override Properties explained:
Previously, data binding was only used for displaying data (e.g. text). With the new Overrides feature, you can also use data binding to bind other things, most notably colors and numeric properties.

For example, with the new Override Background Color, you can use a data binding for the background color of any Widget. During theme runtime, the designed background color will be overruled by the data binding. If your selected data binding is a binding that returns a color (such as "classcolor"), the Widget will show that color instead.

To use the Override properties just look for the Override category or properties that start with "Override". For those properties instead of the usual values you can now select a Data Binding as well as set a Data Converter script.

The full list of properties you can override is below.

Two notes on Override properties:
  1. You must make sure the Data Binding you select actually returns the proper type. For example, returning a number or string (text) for a Background Color will not work and will likely crash the theme. We are working on ways to make it more clear what types each binding returns but for now the name should allow you to figure it out.
  2. You can use Override Data Bindings on the parent Widget too even though they do not support the notion of "Data Offset". For Data Sets that return multiple items, the first item is used to bind any Override properties. For SubWidget and Label Override bindings, the Data Offset of the SubWidget or Label is taken into account properly.


The most obvious properties should be there (e.g. colors) but you'll see we also allow you to data bind things like Left/Top position and Width/Height of the Widget. No idea what that could be useful for, but maybe someone can come up with some cool stuff!