StringElement is useless

derekyuderekyu CNMember

I use MTD to build a simple view in my project, and I set every element to UITextAlignment.Center.

But it seems that StringElement always align its value to right, it doesn't have TextAlignment property, and its Alignment Field not works.

I think it is a bug, if not, why you public its Alignment Field?

BTW, StringElement won't trigger a redraw when I change its Value(Value here is a Field not Property), do you think StringElement is a const Element?

Posts

  • rmaciasrmacias USBeta, University ✭✭✭✭✭

    The string element alignment property works here on my end. Can you provide a sample project that re-create the issue?

    Also, when you change the contents of the string, you may need to explicitly call a Reload() on your Section or Element. Changing the text alone won't call the reload method.

Sign In or Register to comment.