Hey,
> Is it possible to use svg as icon for button?
> I wonder if it is possible to use icon fonts & how to accomplish this in 
> qooxdoo?

The icon of buttons are div tags in qooxdoo having a background image. So it 
should be possible to add a text (read font icon) as content of the div. But 
the button will not render the div if no icon is given so it would be necessary 
to load a blank image if you want to use the icon div (including its layout 
capabilities). Additionally, you most likely have to manage the size of the 
icon by yourself.

If you only want it on the left side anyway, I would go with a rich label 
including a span with the font icon in the beginning.

Regards,
Martin
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to