elements.xyz.setSize() has no effect

Hi All

I am trying to make a table view height change depending on a number that I choose.

I have a label which is leftmost in the form, and I set it (and check it) using:

elements.lbl_edit_button.setSize(10,line_items_to_superuser.est_line_height_nr)
application.output(elements.lbl_edit_button.getHeight())

When the code runs, it outputs (correctly) that the height is 23 or 33 or 43 or whatever I have set in line_items_to_superuser.est_line_height_nr, but the actual label field height is not affected.

I don’t know what I am missing.

setting the height of the first column of a table-view, does not work on-the-fly.
You need to set it by using solutionModel, and not touch the form before…

Thanks Harjo

I don’t use solutionmodel. Is it possible to use just this one thing (for now) in solutionmodel and have everything else behave as it currently does?

:)

yes ofcourse…, solutionModel does NOT mean, you have to build everything from scratch.
We use solutionModel almost everytime for such things.

Thanks Harjo

:)