Join GitHub today
Tile components having a label and a data field mis-align when the label wraps #61
I am using a Tile to show a list of items with each item in the list having a label and a data value.The result I want is:
What I am getting is:
The word "Fundraising" wraps to the next line showing an incorrect value next to it. The last label "Lifetime Total Cash" is shoved down a line with no data value next to it. If the label must wrap it should look like this:
In addition to this issue, I have a question as to whether the space taken up by the label and the data value can be adjusted. Though it does not show here, the labels and data values are both vertically aligned into two columns. It appears the label column by default takes about 1/3 of the line and the data value column takes about 2/3's of the line. Can this be adjusted so that the label column and the data value column each take 1/2 of the line?
A code excerpt is as follows (lt and gt terminators are omitted):