mozillaZineheader image
CONFIGURABLE CHROME SPEC RELEASED! SCREENSHOT AVAILABLE! (continued)

What follows is a summarized look at the alterable properties in the new Chrome Spec:

Customized Icons

  • These icons have these different settable properties: smallIcon, toolbarEnabledIcon, toolbarRolloverIcon, toolbarPressedIcon, toolbarDisabledIcon. If the toolbarEnabledIcon property is the only property specified, the browser can perform transformations to it to allow the button to work properly.
  • Custom Name for toolbar buttons - this is localizable, so it can be language-version independent.

Custom View Properties

These apply to the toolbars themselves, as well as tree views (i.e. History Lists, Bookmarks, etc.).

  • Configurable Background - viewBGURL

    Allows for a tiled image that will cover the background of a specific view. In the case of abutting elements with the same viewBGURL, the image will tile smoothly over them, with no seams.

  • Background Color - viewBGColor
  • Text Color - viewFGColor
  • Rollover Color - viewRolloverColor
  • Pressed Color - viewPressedColor
  • Disabled Color - viewDisabledColor
  • HTML View - htmlURL

    This allows you to display a specific URL inside a view element.

  • HTML Height - htmlHeight

    The default height of the HTML view specified by htmlURL.

Tree Properties

These properties describe the presentation of tree views in the browser (History Lists, What's Related Lists, Bookmarks, etc.). There are many properties here, and their names are rather self-explanatory, so I'll save any clarification for the really obscure properties.

  • Title Bar Properties - titleBarFGColor, titleBarBGColor, titleBarBGURL, showTitleBar, titleBarShowText
  • Control Strip Properties - controlStripFGColor, controlStripBGColor, controlStripBGURL, showControlStrip, controlStripAddText, controlStripEditText, controlStripCloseText

    These properties concern the menu "control strip" between the title bar and the tree view. Controls look and feel, as well as the text strings that apply to the "Add", "Edit", and "Close" properties, making these features localizable.

  • Selected Item Properties - selectionFGColor, selectionBGColor
  • Column Header Properties - columnHeaderFGColor, columnHeaderBGColor, columnHeaderBGURL, showColumnHeaders
  • Tree Connections - showTreeConnections, treeConnectionColor

    Properties that describe the connections and triggers between siblings on a tree view.

  • Divider Properties - showDividers, dividerColor
  • Selected Column Properties - selectedColumnHeaderFGColor, selectedColumnHeaderBGColor
  • Sort Column Properties - sortColumnFGColor, sortColumnBGColor

    Properties that apply to a column that was used to sort the tree.

  • Single Click / Double Click - useSingleClick
  • Editability of Nodes - useInlineEditing
  • Open State Properties - loadOpenState, saveOpenState

    These properties regulate whether open folders in the tree views are remembered.

Toolbar Properties

  • Bitmap Positioning - toolbarBitmapPosition

    Whether to orient the bitmap above or to the side of the associated text.

  • Button Sizes - toolbarButtonsFixedSize

    Whether the buttons maintain a consistent size.

  • Toolbar Text Restrictions - toolbarMinChars, toolbarMaxChars
  • Display mode - toolbarDisplayMode

    Text, pictures, pictures and text.

  • Toolbar States - toolbarCollapsed, toolbarVisible

Toolbar Button Properties

  • buttonTooltipText
  • buttonStatusbarText
  • buttonBorderStyle
  • buttonTreeState

To read the full spec, click here.

PREVIOUS

Got a response? TalkBack!

Home
MozillaZine and the MozillaZine Logo Copyright © 2000 Chris Nelson. All Rights Reserved.