Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

It's assumed that if there are two icons with the name name, and one a .png and the other .gif, then the .gif will be used for Internet Explorer and the .png for other browsers, this is because of the poor support for .png images in earlier IE versions.
In this case the icon is still referred to be the same name in the config files, the rule just ensures that the correct image is chosen at runtime.

To see what current icons are available for use, open the HTML page /weave/styles/core.css on the Weave instance
e.g. http://localhost:8080/weave/styles/core.css
and any line starting with '.icon-' will be an icon available for use.

The actual bitmaps for most of these will be contained in the com.cohga.client.weave.main_*.jar bundle (which is just a .zip file), and they're stored under the /client/resources/images/icons/ directory inside that file.

Not all bitmaps are in that one file, others may be supplied by other bundles, but they should all be in the same directory, but any decent browser should provide an option to directly peruse the icons anyway.

Pretty much any component can have its icon set by setting the 'iconCls' property to one of these icons, e.g. to use '.icon-edit' in a toolbar:

Code Block
xml
xml

<item action="weave.toggleToolbar" text="Edit" iconCls="icon-edit">
  ...
</item>

Additionally, for the text/labelling it can be a bit inconsistent, but a general run of thumb is to set a 'text', or 'label', property to add/alter the default text for a button/panel/component/control.

Aliases

As of version 2.22.9 of the com.cohga.client.weave bundle it's possible to specify an alias for a client configuration.

...