Hi Slah, I would go for a decorator mixin in order to deal with a percentRadius property that you can later handle in a stylePercentRadius method. Take the following mixin as an example and this should be quite straightforward : https://github.com/jspresso/jspresso-ce/blob/master/qooxdoo/client/src/main/js/org/jspresso/framework/patch/MTransition.js
HTH, Vincent > Le 27 mai 2015 à 17:42, slah <slach...@gmail.com> a écrit : > > Hello, > I'm trying to show an image in a circular shape like google+ do for avatars, > etc. > > seems I've to use CSS * border-radius: 50%;* > trying to use decorator for this purpose fails because > *qx.ui.decoration.Decorator().setRadius()* only accepts integers and not %. > > Can someone show me how to use CSS or Decorator() to achieve this purpose. > > Regards, > > > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/how-to-make-circular-images-with-decorator-CSS-tp7587190.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel