I have a grid with many labels and the value pairs.

As an example, it looks something like this:

Total: 13
Test: 2
Test2: 11

The labels on the left are column 0, the values on the right are column 1.

The values change frequently with a call to setText(). When the length of their text glows large, they are truncated because the parent does not grow to accommodate them.
How is it possible to fix the frequent change??