boom
boom

Reputation: 6156

text overlapped in textfield

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.

enter image description here

Regards,

Upvotes: 1

Views: 91

Answers (1)

boom
boom

Reputation: 6156

Best way is to create new nib. Its pretty difficult to handle field editor.

Upvotes: 1

Related Questions