Reputation: 6156
I am using NSTextField object in my window.When i hide and unhide the window, the text in the textfield gets overlapped. Previous text gets retain on the textfield. So, when i typed again, it looks texts are not cleared in the textfield.
I set string as
[myStringField setStringValue:@""];
But, it does not work. I am attaching a snapshot below. My query is why the texts gets overlapped.
Regards,
Upvotes: 1
Views: 91
Reputation: 6156
Best way is to create new nib. Its pretty difficult to handle field editor.
Upvotes: 1