PNG icons

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
Answered
0
0

One of the intended uses of Wisej is to migrate LOB applications, that were originally developed under VB6, Windows Forms, other desktop platforms, or even Visual WebGUI. Those environments use raster image icons, namely PNG.

Up to now I’ve used PNG icons on my Wisej test applications.

  1. Are PNG icons supported on themes (close form icon, menu item check box, etc)?
  2. Does Wisej handle optimization of PNG use (cache, preload, etc)?
  • You must to post comments
Best Answer
0
0

Yes, absolutely.

The first version of our themes were all done using png icons. We then enhanced qooxdoo to support SVG icons and dynamic colors on the xml definition.

the problem with png icons is that you need several versions of each and they don’t scale well on hi def displays. When using SVG icons their main color can be changed depending on the state instead of changing the actual icon.

All images are preloaded and cached. SVG icons are cached as XML elements and the their fill color is updated when setting the icon. The fill color can be the color of the widget or set in the theme.

Best,

Luca

  • You must to post comments
0
0

I forgot to add that Wisej themes also support border images and slicing:

http://www.w3schools.com/cssref/css3_pr_border-image.asp

  • You must to post comments
Showing 2 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json