Tomas Jelinek has uploaded a new change for review. Change subject: webadmin: iSCSI login button arrow not properly aligned ......................................................................
webadmin: iSCSI login button arrow not properly aligned Login button of the iSCSI storage domain dialog was misplaced after introducing the http://gerrit.ovirt.org/#/c/32521/ This patch fixes it. Change-Id: I609b4cb800e75a76ffacfe9a515bf495ccf281c2 Signed-off-by: Tomas Jelinek <tjeli...@redhat.com> --- M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/SanStorageTargetToLunList.java 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/30/32830/1 diff --git a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/SanStorageTargetToLunList.java b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/SanStorageTargetToLunList.java index 9d6a79f..dec3efb 100644 --- a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/SanStorageTargetToLunList.java +++ b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/SanStorageTargetToLunList.java @@ -3,6 +3,7 @@ import java.util.ArrayList; import java.util.List; +import com.google.gwt.dom.client.Style; import org.ovirt.engine.ui.common.widget.UiCommandButton; import org.ovirt.engine.ui.common.widget.editor.EntityModelCellTable; import org.ovirt.engine.ui.common.widget.label.TextBoxLabel; @@ -135,7 +136,9 @@ }); loginButton.getElement().getStyle().setFloat(Float.RIGHT); loginButton.getElement().getStyle().setMarginRight(6, Unit.PX); - loginButton.getElement().getElementsByTagName("span").getItem(0).getStyle().setMarginTop(0, Unit.PX); //$NON-NLS-1$ + Style spanStyle = loginButton.getElement().getElementsByTagName("span").getItem(0).getStyle(); //$NON-NLS-1$ + spanStyle.setPosition(Style.Position.RELATIVE); + spanStyle.setTop(-3, Unit.PX); panel.add(loginButton); panel.setCellVerticalAlignment(loginButton, HasVerticalAlignment.ALIGN_MIDDLE); -- To view, visit http://gerrit.ovirt.org/32830 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I609b4cb800e75a76ffacfe9a515bf495ccf281c2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tomas Jelinek <tjeli...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches