Cocoa noob here. I'm working with an NSTextField
, and am using CALayer
to style the border of it.
It looks like this:
My question is: how can I position where the input text actually starts? I'd like to be able to push it over from the left and the top a bit.
Thank you!
Can't you solve this by creating a NSView
container?
So it will look a bit like this: NSView
with CALayer
border and NSTextField
inside.
You get the idea?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With