Daniel Erez has uploaded a new change for review.

Change subject: webadmin: make template dialog - prevent scrollbars
......................................................................

webadmin: make template dialog - prevent scrollbars

Adjusting style of 'Make Template' dialog to
prevent redundant vertical/horizontal scrollbars.

Change-Id: I78f6c78396d665b024800da5ca35a8377b1f39b6
Signed-off-by: Daniel Erez <de...@redhat.com>
---
M 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/popup/vm/VmMakeTemplatePopupWidget.ui.xml
M 
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/popup/vm/VmMakeTemplatePopupView.java
2 files changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/35/19335/1

diff --git 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/popup/vm/VmMakeTemplatePopupWidget.ui.xml
 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/popup/vm/VmMakeTemplatePopupWidget.ui.xml
index 9a7b228..3c98a01 100644
--- 
a/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/popup/vm/VmMakeTemplatePopupWidget.ui.xml
+++ 
b/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/popup/vm/VmMakeTemplatePopupWidget.ui.xml
@@ -11,12 +11,14 @@
 
                .messagePanel {
                        color: #CD2127;
-                       height: 65px;
+                       height: 30px;
+            overflow-y: auto;
+            padding: 5px;
                }
 
                .disksAllocationPanel {
                        width: 100%;
-                       height: 190px;
+                       height: 180px;
                        float: right;
                }
 
@@ -34,13 +36,11 @@
                <e:ListModelTypeAheadListBoxEditor ui:field="clusterEditor" />
                <e:ListModelListBoxEditor ui:field="quotaEditor" />
                <g:Label ui:field="disksAllocationLabel" 
addStyleNames="{style.disksAllocationLabel}" />
-               <w:DisksAllocationView ui:field="disksAllocationView" 
listHeight="155px" listWidth="445px" 
addStyleNames="{style.disksAllocationPanel}" />
+               <w:DisksAllocationView ui:field="disksAllocationView" 
listHeight="145px" listWidth="445px" 
addStyleNames="{style.disksAllocationPanel}" />
                <g:FlowPanel>
                        <e:EntityModelCheckBoxEditor 
ui:field="isTemplatePublicEditor" />
             <e:EntityModelCheckBoxEditor ui:field="copyVmPermissions" />
-                       <g:ScrollPanel>
-                               <g:FlowPanel ui:field="messagePanel" 
addStyleNames="{style.messagePanel}" />
-                       </g:ScrollPanel>
+                       <g:FlowPanel ui:field="messagePanel" 
addStyleNames="{style.messagePanel}" />
                </g:FlowPanel>
        </g:FlowPanel>
 
diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/popup/vm/VmMakeTemplatePopupView.java
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/popup/vm/VmMakeTemplatePopupView.java
index 406fb49..2dff146 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/popup/vm/VmMakeTemplatePopupView.java
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/popup/vm/VmMakeTemplatePopupView.java
@@ -21,7 +21,7 @@
 
     @Inject
     public VmMakeTemplatePopupView(EventBus eventBus, ApplicationResources 
resources, ApplicationConstants constants, CommonApplicationTemplates 
applicationTemplates) {
-        super(eventBus, resources, new VmMakeTemplatePopupWidget(constants, 
applicationTemplates), "460px", "490px"); //$NON-NLS-1$ //$NON-NLS-2$
+        super(eventBus, resources, new VmMakeTemplatePopupWidget(constants, 
applicationTemplates), "460px", "510px"); //$NON-NLS-1$ //$NON-NLS-2$
         ViewIdHandler.idHandler.generateAndSetIds(this);
     }
 


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

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

Reply via email to