I'm using SmartGwt 6.1-p20171009, Chrome version Version 61.0.3163.100, and Microsoft Edge version 25.10586.672.0 I use the following to create a simple button.
That produces this button in chrome:
with this computed style (for the button title) found in the chrome debugger:
but we get this in edge:
with this computed style for the same title element:
Notice that it has some additional padding styles.
Curiously though, when I use a different title, I get the desired results on both browsers.
This on chrome:
This on edge:
Is there a way in smartGWT to guarantee the same padding will be applied between browsers? Is this a bug?
Code:
Button button = new Button("Add Group"); button.setWidth(110); button.setIcon("/resources/img/add.png"); button.addClickHandler(new ButtonClickHandler());
with this computed style (for the button title) found in the chrome debugger:
but we get this in edge:
with this computed style for the same title element:
Notice that it has some additional padding styles.
Curiously though, when I use a different title, I get the desired results on both browsers.
Code:
Button button = new Button("Button Title");
This on edge:
Is there a way in smartGWT to guarantee the same padding will be applied between browsers? Is this a bug?
Comment