Xojo 2025r3 Desktop Grid

I was very happy to see the new Desktop Grid control as it initially looked like exactly what I needed. However, I’ve now read Welcome to the Grid – Xojo Programming Blog and played around with it a bit. What I need is a control that allows me to have varying lengths of text on each individual row.

From the blog post it says:

For example, you can adjust the number of columns based on the available width of the DesktopGrid. You can also set different widths for individual columns, while the row height remains fixed.

In GridDataSource I see that rowHeight doesn’t allow me to specify a row, whereas the column width does require me to specify a column number.

My interpretation is that I can’t set the row heights for individual rows with this control? Is that correct? Is there any way to over-ride the default behaviour?

If not, that’s a shame as it that is the one thing I need from it. It’s trivial in HTML but I’d hoped to avoid using HTML in the Xojo UI. It’s also super-easy in Swift but I’m after cross-platform.

3 Likes

Please, feel free to create a feature request for variable row heights in DesktopGrid on Issues

Already exists:

These are just my feature requests. I’m sure that there are more.

7 Likes

Great, thank you @Beatrix_Willius ! :+1:

@Beatrix_Willius thanks. I’ve added a comment to your feature request describing my use case.