Alona Kaplan has uploaded a new change for review.

Change subject: webadmin: Add Interface dialog is cropped on chrome.
......................................................................

webadmin: Add Interface dialog is cropped on chrome.

The default width of the inner element of mainPanel wasn't big enough.
It caused some elements to break into two lines,
it caused the bottom elements of the panel to be cropped.

Change-Id: If0e537c9ada3bcc3a0b108228442b59eda9fe26f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=885212
Signed-off-by: Alona Kaplan <alkap...@redhat.com>
---
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostBondPopupView.java
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.java
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostManagementPopupView.java
3 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/60/11460/1

diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostBondPopupView.java
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostBondPopupView.java
index 8154480..8d7eb8a 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostBondPopupView.java
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostBondPopupView.java
@@ -154,6 +154,7 @@
 
         // Set Styles
         checkConnectivity.setContentWidgetStyleName(style.checkCon());
+        mainPanel.getElement().setPropertyString("width", "100%"); 
//$NON-NLS-1$ //$NON-NLS-2$
 
         // Localize
         bondEditor.setLabel(constants.bondNameHostPopup() + ":"); //$NON-NLS-1$
diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.java
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.java
index 08228fc..4c8b2c9 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.java
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInterfacePopupView.java
@@ -153,6 +153,7 @@
 
         // Set Styles
         isToSync.setContentWidgetStyleName(style.syncInfo());
+        mainPanel.getElement().setPropertyString("width", "100%"); 
//$NON-NLS-1$ //$NON-NLS-2$
 
         // Localize
         nameEditor.setLabel(constants.nameHostPopup() + ":"); //$NON-NLS-1$
diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostManagementPopupView.java
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostManagementPopupView.java
index cc7b990..9eaed73 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostManagementPopupView.java
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostManagementPopupView.java
@@ -158,6 +158,7 @@
         // Set Styles
         checkConnectivity.setContentWidgetStyleName(style.checkCon());
         isToSync.setContentWidgetStyleName(style.syncInfo());
+        mainPanel.getElement().setPropertyString("width", "100%"); 
//$NON-NLS-1$ //$NON-NLS-2$
 
         // Localize
         nameEditor.setLabel(constants.networkNameInterface() + ":"); 
//$NON-NLS-1$


--
To view, visit http://gerrit.ovirt.org/11460
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If0e537c9ada3bcc3a0b108228442b59eda9fe26f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkap...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to