Style attribute names should be in camelCase format

Style attribute names in the 'Cherry-Pick To' dialogs are not in
camelCase format, preventing them from working in GWT-debug mode.

Change-Id: I6ab2401e111160d0ffd503cd1e9a3bc17bac9379
This commit is contained in:
Bruce Zu
2013-09-03 15:49:11 +08:00
committed by David Pursehouse
parent be31cd4ea5
commit 1835099e73
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ public abstract class CherryPickDialog extends ActionDialog {
}); });
newBranch.setWidth("100%"); newBranch.setWidth("100%");
DOM.setStyleAttribute(newBranch.getElement(), "box-sizing", "border-box"); DOM.setStyleAttribute(newBranch.getElement(), "boxSizing", "border-box");
message.setCharacterWidth(70); message.setCharacterWidth(70);
final FlowPanel mwrap = new FlowPanel(); final FlowPanel mwrap = new FlowPanel();

View File

@@ -82,7 +82,7 @@ public abstract class CommentedActionDialog<T> extends AutoCenterDialogBox
buttonPanel = new FlowPanel(); buttonPanel = new FlowPanel();
buttonPanel.add(sendButton); buttonPanel.add(sendButton);
buttonPanel.add(cancelButton); buttonPanel.add(cancelButton);
DOM.setStyleAttribute(buttonPanel.getElement(), "margin-top", "4px"); DOM.setStyleAttribute(buttonPanel.getElement(), "marginTop", "4px");
panel = new FlowPanel(); panel = new FlowPanel();
panel.add(new SmallHeading(heading)); panel.add(new SmallHeading(heading));