The column panel has no col_widths property in the designer and support for setting column width

Hi!

I was checking how to do and what with Anvil and after hours of study I realized this: there is no difference between the properties of lineal panel and the column panel as far as properties in the designer is concerned.
It made no sense.

Then I was checking the documentation that tells there is a property of column panel “col_widths” where we can set the widths of columns.
I didn’t see it in the designer’s properties but only in the API reference.

Column panel yet behaves differently in designer than Linear panel. However, there is no way to decide how the width of a column is calculated but automatically setting the width of all added items in a row equally. E. g. some setting the width of an item in a row should be available somehow.

Is it only available to be done in code? Because in code, it can be still set.

George

When you click between items in a column panel, blue guidelines appear at the boundaries between items. You can grab and move these boundaries. Holding CTRL while dragging lets you drag in finer increments.

Thanks! Finally, I figured it out. Positioning is not too directly visible. Too many lines may appear horizontally and vertically when there are a few containers on a screen and I wasn’t able to make distinction between these lines and where it will eventually place an element.
I just saw that in the API doc there is the “widths” property that may come handy from time to time and I didn’t see it in the properties dialog.

Anyway, I don’t use that feature too often. Mostly I use other containers.

George