<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui">

	<ui:style type="org.ovirt.engine.ui.common.widget.AddRemoveRowWidget.WidgetStyle">
		.mainPanel {
			border-top: 1px solid black;
			float: left;
			padding-left: 5px;
			margin-left: 5px;
			width: 400px;
		}

		.headerLabel {
			padding-top: 5px;
		}

		.buttonStyle {
			width: 9px;
			height: 11px;
			padding-left: 2px;
			padding-top: 2px;
			margin-top: 7px;
			margin-left: 50px;
		}
	</ui:style>

	<g:FlowPanel addStyleNames="{style.mainPanel}" >
		<g:Label ui:field="headerLabel" addStyleNames="{style.headerLabel}" />
		<g:ScrollPanel height="190px">
			<g:FlowPanel ui:field="contentPanel" />
		</g:ScrollPanel>
	</g:FlowPanel>

</ui:UiBinder>

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui">

	<ui:style type="org.ovirt.engine.ui.common.widget.AddRemoveRowWidget.WidgetStyle">
		.mainPanel {
			border-top: 1px solid black;
			float: left;
			padding-left: 5px;
			margin-left: 5px;
			width: 400px;
		}

		.headerLabel {
			padding-top: 5px;
		}

		.buttonStyle {
			width: 9px;
			height: 11px;
			padding-left: 2px;
			padding-top: 2px;
			margin-top: 7px;
			margin-left: 50px;
		}
	</ui:style>

	<g:FlowPanel addStyleNames="{style.mainPanel}" >
		<g:Label ui:field="headerLabel" addStyleNames="{style.headerLabel}" />
		<g:FlowPanel ui:field="contentPanel" />
	</g:FlowPanel>

</ui:UiBinder>

Remove redundant scroll bar in VM general tab
userportal,webadmin: Remove redundant scroll bar in VM general tab

The ProfilesInstanceTypeEditor had the vertical size hardcoded and was wrapped
by a ScrollPanel. This caused the redundant scroll bar in the VM general tab to
appear.

Fixed by removing the ScrollPanel since in all other tabs in the VM dialog the
scrolling is handled by the dialog itself - this change makes the behavior
consistent with the rest of the tabs.

Change-Id: I735fe5fb280f76c6ec771389879433cc9c42ff91
Bug-Url: https://bugzilla.redhat.com/1047883
Signed-off-by: Tomas Jelinek <1e630b38b16bed221fb0bc361448a3f02d51a4de@redhat.com>
