Hi all,

 

Currently when I setup a list, the columns are not taking the full width of the grid. 

They have a fixed size and If I resize the screen columns sizes are not chaning. 

 

Is there any way to setup columns sizes as a % of the list grid width?

Like 1

Like

2 comments

Dear Andreas,

 

For the grid container, the size of one column will always depend on the size of the grid. For example, you have a 100x100 px grid with 2 columns, the grid will be divided into 2, each column taking a half of the space (with spacing specified in settings). You can of course take up a whole space with the element if needed.

 

You can modify the column set up in the grid container with system definer sizes like "small", "medium", "large" in the column spacing for example:

 

 

You can read more about the grid container set up on Creatio Academy: https://academy.creatio.com/docs/8.x/no-code-customization/customizatio…

 

You can also use a flex container for a more flexible set up: https://academy.creatio.com/docs/8.x/no-code-customization/customizatio…

 

Have a great day!

Alina Yakovlieva,

 

Hi Alina,

To clarify, my question was related to the list component, not the layout grid.

As it stands, the list component allows me to manually set the width of each column. However, this width can only be defined using a fixed size (like pixels), not percentages. This fixed sizing leads to two main issues:

  1. On smaller screens: The content doesn't fit the screen width, resulting in the addition of a horizontal scrollbar.
  2. On larger screens: There's excess white space to the right of the last column, as the columns do not expand to use the available width.

My goal is to have the column widths dynamically adjust to the screen size, utilizing percentages to ensure they fill the entire width of the list component, without unnecessary scrollbars or white space.

Is there a way to make the columns within the list component responsive, so that their widths adjust in proportion to the screen size, using percentages instead of fixed sizes?

 

 

Any guidance or suggestions on how to achieve this would be greatly appreciated.

Thank you!

 

 

 

 

Show all comments