Changes to Grouping in v1.18

This article describes the changes to groups and grouping in version 1.18 and how this can affect existing projects.

'New' vs 'Old' groups

Version 1.18 of Squirrel has introduced significant changes to how Groups and their grouping functions operate within the product. With the addition of Fixed Positioning, Groups now establish a new origin point (0,0) as soon as components are grouped together. These new properties, along with the changes to Groups, have been implemented to simplify application development.

What is an 'Old' or 'New' group?

There are several ways to distinguish between the 'New' and 'Old' groups, but one key method is to look for the new Horizontal and Vertical Alignment properties in the LAYOUT & POSITIONING section of the property panel.

Any 'Old' group will not have these properties.

How does this affect my old projects?

Any project constructed in version 1.17 and later migrated to version 1.18 will retain the 'Old' grouping. The characteristics of 'Old' groups are as follows:

  1. Components maintain their original X, Y positioning.

  2. Components can have their X, Y positions and Height and Width properties bound to the spreadsheet.

  3. Groups do not possess Horizontal or Vertical Alignment properties.

Current restrictions of 'New' groups

As at v1.18 'New' groups are not compatible with bound size and position properties on object within the group (child objects). If a component with a size or position binding is placed in a 'New' group, ithe size of the group can become distorted, causing it to shift to unwanted positions.

To avoid these issues, it is highly recommended that:

  1. Components within 'New' groups should not have their properties bound to the spreadsheet.

  2. For components where there size and position needs to be bound use a container to group them instead.

Last updated

Was this helpful?