Set table-layout to auto to allow correct widths to be calculated.
Refactor to use AutoFit view rather than mixing for UI