0

I have a strange problem with one of my NSPanels. Starting up my application, I use a simple panel with only an NSTextField and an NSButton to get the player's name. Working on some other stuff on my application, all of a sudden the panel does not get focused any longer when starting the app. The button does work, though, but the text field refuses to be focused and take any input.

Any ideas are appreciated.

Cheers,

Living

Living Skull
  • 126
  • 6

1 Answers1

0

I found the solution myself, shame on me.

For the NSPanel, I had deselected "Title Bar" in the Appearance section of the Attribute Inspector. Unchecked, the panel does not have a title bar and thus cannot get the focus.

Checking it again, everything works as expected :-)

Living Skull
  • 126
  • 6