PDA

View Full Version : [FIXED] [2.0M3]Rendering disabled button on IE



xalvaro
24 Jun 2009, 7:07 AM
Hello,

I have a problem for distinguishing enabled button or disabled on IE if I only use the icon, the rendering is the same :D :


public class Test implements EntryPoint {

public void onModuleLoad() {

ToolBar toolbar = new ToolBar();

final Button buttonEnabled = new Button();
buttonEnabled.setIcon(GXT.IMAGES.grid_columns());
buttonEnabled.setEnabled(false);
toolbar.add(buttonEnabled);

final Button buttonDisabled = new Button();
buttonDisabled.setIcon(GXT.IMAGES.grid_columns());
buttonDisabled.setEnabled(true);
toolbar.add(buttonDisabled);


RootPanel.get().add(toolbar);
}
}

=> view rendering

IE6 / FF

sven
24 Jun 2009, 7:19 AM
What is the problem with this code? I dont see any exceptions or something like that.

sven
24 Jun 2009, 7:37 AM
Ok, understood it now. You mean the different appearence.

sven
24 Jun 2009, 7:40 AM
Fixed in SVN

xalvaro
24 Jun 2009, 7:49 AM
Ok, understood it now. You mean the different appearence.

Yes, sorry for my bad English ;)

Thanks for the quick fix

mtarantini
26 Jun 2009, 12:05 AM
I've just update to the RC1 trunk, problem with Shell and IE8 still remain (or had happen again).

Thx