Configuring font sizes for the UNIX event list windows

The NCOEvent resource file contains definitions for the user interface elements of the event list windows.

About this task

You can use this resource file to change the font size of the menus, toolbar buttons, field labels and entries, push buttons, status bar, column headers, and event data in the following event list windows:
  • Login window for the event list
  • Event List monitor box window
  • Event list
  • All other windows that are accessible from the monitor box window and event list. These windows include the Filter Builder, the View Builder, and other windows that you open by clicking a menu option.

You can also use the NCOEvent resource file to change other attributes for the event list windows; for example, font types, string values, and colors.

If you use the Conductor ($NCHOME/omnibus/bin/nco &) to provide single sign-on access to the desktop tools, the font changes that you make in the NCOEvent resource file are reflected in the monitor box window, the event list, and the associated windows. If you start the event list from a command prompt ($NCHOME/omnibus/bin/nco_event &), the font changes are reflected in the Login window, the monitor box window, the event list, and associated windows.

To configure font sizes for the UNIX event list windows:

Procedure

  1. Go to the following location:

    $NCHOME/omnibus/desktop/locale/arch/locale_name/app-defaults

    Where arch is the operating system directory and locale_name is the full locale name; for example en_GB.ISO8859-1. Note that some locale names in this directory might be symbolic links.

    Tip: For your changes to be visible, the locale_name value must match your current locale. You can run the locale command (without any arguments) to list the current locale.
  2. Edit the NCOEvent resource file to change the font sizes for the event list resources as required:
    Resource Description
    NCOEvent*fontList Affects most of the text on all the windows; for example, menus, toolbar buttons, most field labels, and push buttons.
    NCOEvent*XmText.fontList Affects descriptive text items such as journal entries.
    NCOEvent*XmTextField.fontList Affects editable text; for example, the Username and Password entries in the Login window for the event list.
    NCOEvent*XmLabel.fontList Affects non-editable labels; for example, the Username and Password field labels in the Login window for the event list, or the Number and Metric labels on monitor boxes.
    NCOEvent*main_status_line.fontList Affects the status message that is displayed in the status bar of the monitor box window after login; for example, Ready.
    NCOEvent*main_user_field.fontList Affects the name of the logged-in user, which is displayed in the status bar of the monitor box window after login.
    NCOEvent*main_server_field.fontList Affects the ObjectServer name that is displayed in the status bar of the monitor box window after login.
    NCOEvent*sub_status_line.fontList Affects the status message that is displayed in the status bar of an event list; for example, No rows modified.
    NCOEvent*sub_clock.fontList Affects the date and time displayed in the status bar of an event list.
    NCOEvent*sub_user_field.fontList Affects the name of the logged-in user, which is displayed in the status bar of an event list.
    NCOEvent*sub_server_field.fontList Affects the ObjectServer name that is displayed in the status bar of an event list.
    NCOEvent*sub_matrix.labelFont Affects the column headers in an event list table.
    NCOEvent*sub_matrix.fontList Affects the text for the event data in an event list table.
    Note: This resource is not listed in the NCOEvent resource file, but can be added if you want to change the font for the event data. You can copy and paste the NCOEvent*sub_matrix.labelFont line, so that it is duplicated within the file. Then amend the pasted line by changing the NCOEvent*sub_matrix.labelFont portion to NCOEvent*sub_matrix.fontList

    For example, to increase the font size of any of these resources from 12 to 24, you can change -adobe-helvetica-bold-r-normal--12-*-75-75-*-*-iso*-* to -adobe-helvetica-bold-r-normal--24-*-75-75-*-*-iso*-*

  3. Save your changes.
  4. For the changes to take effect, close all open monitor box and event list windows, and then reopen them.