Remove usage of to-be-deprecated GWT DOM helper methods
These are not all currently deprecated, but are deprecated in GWT master, e.g.: https://gwt.googlesource.com/gwt/+/a6044a4a54c352b2709d27dd1907e977ce1607ad This change was produced with an automated tool courtesy of the GWT team. Change-Id: Ie5401a3e2231bad7099c4ff35e2c64d77cbbb33b
This commit is contained in:
@@ -18,7 +18,6 @@ import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.event.logical.shared.CloseEvent;
|
||||
import com.google.gwt.event.logical.shared.CloseHandler;
|
||||
import com.google.gwt.user.client.DOM;
|
||||
import com.google.gwt.user.client.History;
|
||||
import com.google.gwt.user.client.ui.Button;
|
||||
import com.google.gwt.user.client.ui.FlowPanel;
|
||||
@@ -52,7 +51,7 @@ public class NotSignedInDialog extends AutoCenterDialogBox implements CloseHandl
|
||||
buttons.add(signin);
|
||||
|
||||
final Button close = new Button();
|
||||
DOM.setStyleAttribute(close.getElement(), "marginLeft", "200px");
|
||||
close.getElement().getStyle().setProperty("marginLeft", "200px");
|
||||
close.setText(Gerrit.C.signInDialogClose());
|
||||
close.addClickHandler(new ClickHandler() {
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user