Versions Compared

Key

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

...

You can create custom icons that can then be referred to in the client configuration by creating an icons directory within the ...\weave\platform\workspace directory, then any .gif or .png files within there will be available to use anywhere an iconCls attribute can be set. Note that if the icons directory doesn't exist when the server is started it will need to be restarted before icons are available for use.

The icons aren't available directly, instead Weave will create a CSS rule to reference the image, and it's the CSS rule that you reference in the config. The name of the rule is based on the file name, but is given an icon- prefix, so for example test.png would create a rule named .icon-test which can then be referenced as icon-test in the config file.

...