# Changes to Grouping in v1.19

In version 1.18, Squirrel introduced significant changes to how groups and containers are managed in the designer. The new [Alignment options](https://learn.squirrel365.io/components/layout-and-positioning#alignment) within the Layout and Positioning section established a new origin point (0,0) as soon as components were grouped. However, this change led to some unforeseen issues that impacted many existing projects. In response, the team has been working hard in version 1.19 to address these enhancements from a different perspective.&#x20;

<figure><img src="/files/cMvRnu05T8nUAMqh0kR0" alt=""><figcaption><p>v1.19 grouping functions similarly to v1.18, with a few changes.</p></figcaption></figure>

### What's changed?

#### Groups

Groups now operate differently than they did before. They are used at design time to help organize your project, keeping the Component Tree tidy and allowing multiple objects to be moved as a whole on the Canvas.  When components are grouped, the height, width, X and Y properties are calculated based on the objects within the group.&#x20;

{% hint style="info" %}
NB: You can move the group by inputting new X and Y positions but they cannot be bound to the spreadsheet.\
\
Properties that can be bound (dynamically changed at runtime) such as height and width, positioning, and dynamic visibility, are exclusive to the Container grouping method.
{% endhint %}

#### Containers

Containers hold all the power when it comes to grouping components. Components can either be placed into Containers by selecting and placing a Container on the canvas and placing them within, or via the newest method.

When components are grouped, the properties panel will have an option to 'Convert to Container':

<figure><img src="/files/FQ9e539X7EdgYzaRRT1z" alt="" width="272"><figcaption></figcaption></figure>

This will automatically turn the selected group on the canvas into a Container. All components within will keep their relative position (only if not bound), and their X, Y properties will update accordingly.

If a component is bound or has alignment settings applied, a prompt modal will appear to confirm this is the action you wish to take:

<figure><img src="/files/nO4ucMncofHGqkUn3IBy" alt="" width="515"><figcaption></figcaption></figure>

Clicking **Continue** will convert the current selected group into a container, and all components within will adjust their positions relative to the new 'parent' container object.

<figure><img src="/files/yp4SttU4d6RQuNfZUQ74" alt=""><figcaption><p>Components bound to the spreadsheet, or with horizontal or vertical alignment applied, will adjust their position when converted from the group to a container to be relative to the new parent container.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.squirrel365.io/the-designer/changes-to-grouping-in-v1.19.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
