Ive got at simple drill-down menu using tableViews.
When pressing a row, I get to another tableView, and the text of the row I pressed appears as a "back-button" left of the new tableView's headline. Just as they normally work, in other words.
However, the text in a row of the first tableView can be very long in my case. This means that the back-button appearing in the second tableView will be very long as well, containing all the text and pushing the headline more and more to the right.
So, how do I restrict the size of the back-button, and the text contained within it? Id like the effect where for instance where "Introduction" gets cropped to "Intro.." (or whatever lenght it may be), with dots at the end showing that this is a cropped word rather than a full.
When pressing a row, I get to another tableView, and the text of the row I pressed appears as a "back-button" left of the new tableView's headline. Just as they normally work, in other words.
However, the text in a row of the first tableView can be very long in my case. This means that the back-button appearing in the second tableView will be very long as well, containing all the text and pushing the headline more and more to the right.
So, how do I restrict the size of the back-button, and the text contained within it? Id like the effect where for instance where "Introduction" gets cropped to "Intro.." (or whatever lenght it may be), with dots at the end showing that this is a cropped word rather than a full.