I am trying to display a path in my table view. Both columns of the table view on the left side are the same for testing/demonstration purposes. Notice how the leftmost path is truncated:
When I expand the column, the (truncated) table view cell doesn't expand with the column:
My question is how would I go about resizing the cell when I resize the table view column?
Found a solution, what you want to do is add a few constraints
Step 1: go to the table cell view for said column
Step 2: Change these constraints
Step 3: Change these constraints aswell
Step 4: run your app and look at your nice table :-D
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.