I am trying to adjust size of columns in a listbox trying to mix % and fixed widths
I would like to use the second mode when the user resize the columns, other columns are moved and not resized doc
I have the following code, what I want is that the right most column always keep the same size but if the user enlarge the windows, the column 4 stick to the rightmost part
Since Xojo calculates the widths from left to right, I suspect that it calculates 4 x 20% correctly, but then has more than 100 pixels for column 5 and then limits this to 100 without expanding the first 4 columns again.
Of course it would be better for Xojo to subtract 100 from the total width of the list and then calculate the percentage widths…
I am not doing multiple * because sometimes I want to give ratio. From the documentation we can say 4*, 3*, * but it results in the first mode when increasing/decreasing the size of a column use the space of an other column
In the example I gave, it’s 20% but in fact, I am using something more like different percentages (40%,10%,25%, etc)