These are not dynamic texts, and calculating the width is not necessary. Please look at the implemented UI and set the width of each column as a constant value. You can then also delete textMetrics...
These are not dynamic texts, and calculating the width is not necessary.
Please look at the implemented UI and set the width of each column as a constant value.
You can then also delete textMetrics.
Please note that it should have started with '_' if we were going to keep it.
Generally, please avoid these types of calculations.