where's "System Font Text" in Xcode3?

  • Hi,
    I just upgraded to leopard and Xcode3.
    Under cocoa objects in the library, there's no object like "system
    Font Text" as in Xcode2.5.
    There's NSTextFieldCell how ever but can't be dragged to the window.
    Also I'm not able to create NSMatrix by "option" dragging the earlier
    such text field in the window.

    Wishes,
    Navneet
  • On Jan 7, 2008, at 3:19 PM, Navneet Kumar wrote:

    > Under cocoa objects in the library, there's no object like "system
    > Font Text" as in Xcode2.5.

    I'm not quite sure what you're referring to? What did you plan to use
    it for?

    > There's NSTextFieldCell how ever but can't be dragged to the window.

    Select the top level library icon in the Library panel. Select the
    search field and type in "nstextfield. You should find four matches:
    The NSTextFieldCell (don't use this one if you're looking for a text
    field), two text fields (one configured as a label, the other as an
    input field), and the NSSecureTextField.

    > Also I'm not able to create NSMatrix by "option" dragging the
    > earlier such text field in the window.

    Drag in and select a NSTextField, then choose "Layout > Embed Objects
    In > Matrix".

    j o a r
  • Op 8 jan 2008, om 00:43 heeft j o a r het volgende geschreven:
    >
    > On Jan 7, 2008, at 3:19 PM, Navneet Kumar wrote:
    >
    >> Under cocoa objects in the library, there's no object like "system
    >> Font Text" as in Xcode2.5.
    >
    > I'm not quite sure what you're referring to? What did you plan to
    > use it for?

    In Interface Builder you could set the font to be "System Font" or
    "Small System Font" etc. That seems to be gone in IB now. I suspect
    that this is what is being asked about. One can just use "Lucida
    Grande", but that is of course not guaranteed to always remain the
    system font.

    Johan
  • On Jan 18, 2008 7:16 AM, Johan Kool <johankool...> wrote:
    > In Interface Builder you could set the font to be "System Font" or
    > "Small System Font" etc. That seems to be gone in IB now. I suspect
    > that this is what is being asked about. One can just use "Lucida
    > Grande", but that is of course not guaranteed to always remain the
    > system font.

    Psst... "System Font Text" was just an NSTextField with Lucida Grande
    13.  ;-)  There's no mapping of pseudo font names to actual font names
    like there in in GTK/HTML/Win32.

    Apple can't just change the default system font and force applications
    to cope.  Localization is often dependent upon string length, which of
    course is dependent upon the font in use.

    --Kyle Sluder
  • Le 18 janv. 08 à 14:12, Kyle Sluder a écrit :

    > On Jan 18, 2008 7:16 AM, Johan Kool <johankool...> wrote:
    >> In Interface Builder you could set the font to be "System Font" or
    >> "Small System Font" etc. That seems to be gone in IB now. I suspect
    >> that this is what is being asked about. One can just use "Lucida
    >> Grande", but that is of course not guaranteed to always remain the
    >> system font.
    >
    > Psst... "System Font Text" was just an NSTextField with Lucida Grande
    > 13.  ;-)  There's no mapping of pseudo font names to actual font names
    > like there in in GTK/HTML/Win32.
    >
    > Apple can't just change the default system font and force applications
    > to cope.  Localization is often dependent upon string length, which of
    > course is dependent upon the font in use.
    >
    > --Kyle Sluder

    There is no pseudo font name except for the system font as the NSFont
    class has a +systemFont method that return the default font.
    Apple can change the system font by changing the value returned by
    this method. (so all applications that do not explicitly use a custom
    font will use the new font).
  • On Jan 18, 2008, at 5:26 AM, Jean-Daniel Dupas wrote:

    > Le 18 janv. 08 à 14:12, Kyle Sluder a écrit :
    >
    >> On Jan 18, 2008 7:16 AM, Johan Kool <johankool...> wrote:
    >>> In Interface Builder you could set the font to be "System Font" or
    >>> "Small System Font" etc. That seems to be gone in IB now. I suspect
    >>> that this is what is being asked about. One can just use "Lucida
    >>> Grande", but that is of course not guaranteed to always remain the
    >>> system font.
    >>
    >> Psst... "System Font Text" was just an NSTextField with Lucida Grande
    >> 13.  ;-)  There's no mapping of pseudo font names to actual font
    >> names
    >> like there in in GTK/HTML/Win32.
    >>

    In IB 3, in the Size panel there is a popup at the top for Regular,
    Small and Mini. At least for text fields this appears to do the same
    as selecting the system font size in IB 2.x.

    Dave
  • On Jan 18, 2008, at 5:26 AM, Jean-Daniel Dupas wrote:

    >
    > Le 18 janv. 08 à 14:12, Kyle Sluder a écrit :
    >
    >> On Jan 18, 2008 7:16 AM, Johan Kool <johankool...> wrote:
    >>> In Interface Builder you could set the font to be "System Font" or
    >>> "Small System Font" etc. That seems to be gone in IB now. I suspect
    >>> that this is what is being asked about. One can just use "Lucida
    >>> Grande", but that is of course not guaranteed to always remain the
    >>> system font.
    >>
    >> Psst... "System Font Text" was just an NSTextField with Lucida Grande
    >> 13.  ;-)  There's no mapping of pseudo font names to actual font
    >> names
    >> like there in in GTK/HTML/Win32.
    >>
    >> Apple can't just change the default system font and force
    >> applications
    >> to cope.  Localization is often dependent upon string length, which
    >> of
    >> course is dependent upon the font in use.
    >>
    >> --Kyle Sluder
    >
    > There is no pseudo font name except for the system font as the
    > NSFont class has a +systemFont method that return the default font.
    > Apple can change the system font by changing the value returned by
    > this method. (so all applications that do not explicitly use a
    > custom font will use the new font).

    Hey Guys -

    I just thought I would clear this up. All NIB file's have fonts
    encoded in them, including the ones generated by IB 2.x. The behavior
    of the font panel in IB 2.x was just a shortcut for choosing the
    system fonts.

    Good Luck -
    Jon Hess


previous month january 2008 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today