Hi

I'm trying to apply a CSS shadow for focused buttons but I find that after
the shadow has been activated, subsequent uses make the shadow box to be one
pixel wider and higher than before.  After some experimentation, this
appears to be something to do with dynamic combination of mixing decorators;
for example, this shows the problem:

    "shadow-css" :

    {

      decorator : [ qx.ui.decoration.MSingleBorder ],



      style :

      {

        color : "invalid",

        width : 1

      }

    },


But changing to use the Single decorator works just fine:

    "shadow-css" :

    {

      decorator : qx.ui.decoration.Single,



      style :

      {

        color : "invalid",

        width : 1

      }

    },


I can reproduce this in the widget browser (after adding my theme to the
build) - just go to the Form tab, click focused three times (i.e. turn it
on, off, and on again) and the second time the border is 1px bigger.

Is this intentional?

(BTW the reason I do not want to use Single decorator is so that I can use
other mixins like MBoxShadow, MLinearGradient, etc)

John


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to