Why is my label not shifting right?

AshleyDillingerAshleyDillinger USMember
edited May 2016 in Xamarin.iOS

I have a label inside a table view cell. I'm trying to shift this cell to the right but, for some reason, the following code is not working. Help?

var rect = new CoreGraphics.CGRect(cell.HintLabel.Frame.X - 10, cell.HintLabel.Frame.Y, cell.HintLabel.Frame.Width, cell.HintLabel.Frame.Height); cell.HintLabel.Frame = rect; cell.HintLabel.Text = "@";

Tagged:
Sign In or Register to comment.