Given up on wrapping textfield, implementing in Python instead