PDA

View Full Version : Status clearStatus truncation



ihatecode
29 Jul 2009, 9:40 PM
In the desktop example, specifically LoginDialog widget, there is declared a status as follows

protected Status status;

it shows please wait... and an animated gif upon hitting the login button. However, if the users credentials fail, I have this code:

status.clearStatus("Login Failed");

The text changes to what looks like "Login Failec" the lowercase "d" having its vertical "bar" truncated off.

I've seen the behavior in hosted mode, and deployed mode using IE7 and my OS is WinXP pro.

The cheezy workaround is to add an extra character at this point i.e. "Login Failed!" thus the exclaimation disapears but the full "d" will be there.

See attached pic for a looksee.