Hi Cajus, that's a bug in the MDoubleBorder decorator, it shouldn't apply all the styles to the inner element. I opened a report:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=7215 Regards, Daniel On 02/06/2013 11:51 AM, Cajus Pollmeier wrote: > Hi all, > > I'm trying to use the double border decorator and wanted to drop a shadow > outside the widget. > > "test-button-css" : > { > > decorator : [ > qx.ui.decoration.MBoxShadow, > qx.ui.decoration.MDoubleBorder, > qx.ui.decoration.MLinearBackgroundGradient, > ], > > style : > { > width: [4, 0, 4, 0], > color: "red", > innerWidth: [0, 4, 0, 4], > innerColo: "green", > startColor: "button-start", > endColor: "button-end", > startColorPosition: 35, > endColorPosition: 100, > shadowColor : "shadow", > shadowBlurRadius : 3, > shadowLength : 1 > } > } > > Looks like the shadow is also applied to the element which is surrounded by > the inner border. So double border applies a double shadow. Is there a clean > way to get rid of the inner shadow? > > Thanks! > Cajus > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
