Hi Mario, On Friday, June 6, 2014 5:56:41 PM UTC+2, PMario wrote: > > On Friday, June 6, 2014 11:29:51 AM UTC+2, Ton Gerner wrote: >> >> This svg 'code' has to be copied into the general svg form of an icon as >> used in TW5 (inserted between the quotes): >> >> <svg class="tw-xyz-button tw-image-button" height="22px" width="22px" >> viewBox="x y xx yy"><path d=" ... "/></svg> >> > > If everything is set up in the right way the viewBox should be like this: > viewBox="0 > 0 22 22" >
Yes in the ideal world ;-) But even the core images are not perfect, see $:/core/images/cancel-button It contains: <svg class="tw-image-cancel-button tw-image-button" viewBox="366 150 58 58" width="22pt" height="22pt"> ..... Cheers, Ton > > Otherwise there is a problem with the settings in the program that was > used to draw/export the svg images. > > I also think, that most svg icons will need some extra love, to make them > propper styleable with CSS. ... > > -mario > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

