Hi Marius

This is a bug in the latest chrome that's been fixed in the current master;
for a workaround until the next release of Qooxdoo, edit
framework/source/class/qx/bom/Label.js and goto the end of the __measureSize
method and make it look like:

>       if ((qx.core.Environment.get("engine.name") == "gecko")) {
> 
>         size.width++;
> 
>       }
> 
>       // IE9 has problems with the text size calculation for details have a
> look at bug #4038
> 
>       if ((qx.core.Environment.get("engine.name") == "mshtml") &&
> parseFloat(qx.core.Environment.get("engine.version")) >= 9) {
> 
>         size.width++;
> 
>       }
> 
>       // Chrome since version 22 also has the already known missing pixel [BUG
> #6799]
> 
>       if (qx.core.Environment.get("browser.name") == "chrome" &&
> parseFloat(qx.core.Environment.get("browser.version")) >= 22) {
> 
>         size.width++;
> 
>       }
> 
> 
> 
>       return size;
> 
>     }


The change is to add the "//Chrome since version 22Š" bit

John

On 15/10/2012 09:52, "Marius Petrisor" <[email protected]> wrote:

> Hello,
> Is there a way to force the button label NOT to get truncated? It happens on
> Chrome. It shows only the first two letters of the label. Something like
> this: "Te...". This happens only on Chrome. On Safari and Firefox the label
> is displayed properly. I tried to use the "width" property of the button,
> but there is no effect (except for a wider button), the label still gets
> truncated. I'm using Qooxdoo 2.0 on OS X 10.8.2, Chrome 22.0, Safari 6.0.1,
> Firefox 15.0.
> Thank you!
> 
> 
> 
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Button-label-truncated-tp7581702.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to