When the IButton is focused (it has blue color), if I point mouse to it (not clicking) and then move the mouse outside of the button area it gets gray color, though when I press "enter" key the button reacts as a focused. This behavior is confusing for a user. The button should stay blue (as an indicator of being focused).
Is there any properties to be set to make the button look blue when it is focused?
I tested that behavior using SmartGWT 2.4 in Firefox 3.6.7 (in IE8 it looses the color too, but it still has some thin dotted border)
To reproduce the issue use the code below:
public void onModuleLoad() {
IButton sendButton = new IButton("Send");
sendButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
SC.say("The send button was clicked.");
}
});
HLayout layout = new HLayout();
layout.addMember(sendButton);
RootLayoutPanel.get().add(layout);
sendButton.focus();
}
Thank you in advance for the help.
Is there any properties to be set to make the button look blue when it is focused?
I tested that behavior using SmartGWT 2.4 in Firefox 3.6.7 (in IE8 it looses the color too, but it still has some thin dotted border)
To reproduce the issue use the code below:
public void onModuleLoad() {
IButton sendButton = new IButton("Send");
sendButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
SC.say("The send button was clicked.");
}
});
HLayout layout = new HLayout();
layout.addMember(sendButton);
RootLayoutPanel.get().add(layout);
sendButton.focus();
}
Thank you in advance for the help.
Comment