Using a label with a width of -2 I know will vary the label width to accommodate the amount of text set programmatically into the lbl.text. The width reported back to the program is always -2 even when the text has been added.
I need to anchor the right hand end of a label that is Right Justified - but with the width set to -2, it still expands to the right, while I need it to expand to the left.
Is there a way to do what I want?
I need to anchor the right hand end of a label that is Right Justified - but with the width set to -2, it still expands to the right, while I need it to expand to the left.
Is there a way to do what I want?