ofri masad has uploaded a new change for review. Change subject: userportal: Change VerticalPanel to FlowPanel ......................................................................
userportal: Change VerticalPanel to FlowPanel Replace VerticalPanel with FlowPanel in few places in the SideTabExtendedResouces. Change-Id: I597617bb8ac6a3bf5e81630751c739820cab2cef Signed-off-by: Ofri Masad <[email protected]> --- M frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.java M frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.ui.xml 2 files changed, 10 insertions(+), 10 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/28/10328/1 diff --git a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.java b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.java index bcc9a83..e2d21d5 100644 --- a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.java +++ b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.java @@ -309,13 +309,13 @@ } private void addQuotaRow(VerticalPanel list, String quotaName, QuotaProgressBar progressBar) { - VerticalPanel verticalPanel = new VerticalPanel(); + FlowPanel flowPanel = new FlowPanel(); Label quotaNameLabel = new Label(); quotaNameLabel.setText(quotaName); - verticalPanel.add(quotaNameLabel); - verticalPanel.add(progressBar); - verticalPanel.setWidth("100%"); //$NON-NLS-1$ - list.add(verticalPanel); + flowPanel.add(quotaNameLabel); + flowPanel.add(progressBar); + flowPanel.setWidth("100%"); //$NON-NLS-1$ + list.add(flowPanel); } private void addQuotaToMemoryQuotaList(QuotaUsagePerUser quotaPerUserUsageEntity) { diff --git a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.ui.xml b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.ui.xml index 6a4c294..808a0e5 100644 --- a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.ui.xml +++ b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/extended/SideTabExtendedResourceView.ui.xml @@ -19,7 +19,7 @@ margin-right: 20px; height: 100%; overflow-x: hidden; - overflow-y: scroll; + overflow-y: visible; width: 98%; } @@ -215,7 +215,7 @@ </ui:style> <g:ScrollPanel> - <g:VerticalPanel ui:field="mainPanel" addStyleNames="{style.mainPanel}"> + <g:FlowPanel ui:field="mainPanel" addStyleNames="{style.mainPanel}"> <g:FlowPanel ui:field="infoContainer" addStyleNames="{style.infoContainerContainer}"> <g:FlowPanel addStyleNames="{style.infoContainerLeft}"> <g:FlowPanel ui:field="infoBoxLeft" addStyleNames="{style.infoBoxLeft}"> @@ -253,7 +253,7 @@ <g:FlowPanel addStyleNames="{style.iconImageContainer}"> <g:Image resource='{resources.cpuIcon}'/> </g:FlowPanel> - <g:VerticalPanel addStyleNames="{style.infoBoxDetails}"> + <g:FlowPanel addStyleNames="{style.infoBoxDetails}"> <g:Label text="{constants.vcpusExtResource}:" @@ -277,7 +277,7 @@ </g:ScrollPanel> </g:FlowPanel> - </g:VerticalPanel> + </g:FlowPanel> </g:FlowPanel> </g:FlowPanel> @@ -379,7 +379,7 @@ <r:VmTable ui:field="vmTable"/> </g:center> </g:DockLayoutPanel> - </g:VerticalPanel> + </g:FlowPanel> </g:ScrollPanel> </ui:UiBinder> -- To view, visit http://gerrit.ovirt.org/10328 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I597617bb8ac6a3bf5e81630751c739820cab2cef Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: ofri masad <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
