How do you set cursor initial cursor position and NSTextField bounds?

Discussion in 'Mac Programming' started by DavidBlack, Feb 24, 2014.

  1. DavidBlack macrumors 6502a

    DavidBlack

    Joined:
    Jan 27, 2013
    Location:
    Somewhere In Apple's HQ ;)
    #1
    Greetings,
    I am currently developing an application that has a Web View and an address bar that contains a favicon. But I have a problem the NSTextfield text begins under the favicon but rather I want it to work like Safari where it begins just after the icon. The same for the reload button. They say a picture says a thousand words so I included a snapshot. I searched every where but I don't find it, can anyone help me?

    Thanks,
     
  2. robvas macrumors 68020

    Joined:
    Mar 29, 2009
    Location:
    USA
  3. DavidBlack thread starter macrumors 6502a

    DavidBlack

    Joined:
    Jan 27, 2013
    Location:
    Somewhere In Apple's HQ ;)
    #3
    Sorry about that. Here you go.
     

    Attached Files:

  4. DavidBlack thread starter macrumors 6502a

    DavidBlack

    Joined:
    Jan 27, 2013
    Location:
    Somewhere In Apple's HQ ;)
    #4
    I want it to look something like Safari.
     

    Attached Files:

Share This Page