Lior Vernia has uploaded a new change for review. Change subject: webadmin: Added scrolling to vNIC profiles ......................................................................
webadmin: Added scrolling to vNIC profiles In add/edit network, added a vertical scroll bar to the vNIC profile section. Change-Id: I2fedc75dfcd534775fdb80b3364b81d99aab74eb Signed-off-by: Lior Vernia <[email protected]> --- M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/vnicProfile/VnicProfilesEditor.ui.xml 2 files changed, 11 insertions(+), 8 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/41/20341/1 diff --git a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml index b9f09b5..08de16f 100644 --- a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml +++ b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/AbstractNetworkPopupView.ui.xml @@ -19,6 +19,10 @@ padding-bottom: 6px; } + .tabPanelStyle { + overflow: hidden; + } + .mainLabel { font-weight: bold; padding: 5px; @@ -57,9 +61,9 @@ </ui:style> - <d:SimpleDialogPanel ui:field="mainPanel" width="760px" height="550px"> + <d:SimpleDialogPanel ui:field="mainPanel" width="780px" height="550px"> <d:content> - <t:DialogTabPanel ui:field="tabPanel" height="100%"> + <t:DialogTabPanel ui:field="tabPanel" height="100%" addStyleNames="{style.tabPanelStyle}"> <t:tab> <t:DialogTab ui:field="generalTab"> <t:content> diff --git a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/vnicProfile/VnicProfilesEditor.ui.xml b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/vnicProfile/VnicProfilesEditor.ui.xml index 5c8e87a..a6f684e 100644 --- a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/vnicProfile/VnicProfilesEditor.ui.xml +++ b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/vnicProfile/VnicProfilesEditor.ui.xml @@ -4,13 +4,12 @@ <ui:style type="org.ovirt.engine.ui.webadmin.widget.vnicProfile.VnicProfilesEditor.WidgetStyle"> .mainPanel { - float: left; - padding-left: 5px; - margin-left: 5px; + height: 450px; + width: 100%; } .profilePanel { - width: 100%; + margin-left: 10px; padding-bottom: 3px; } @@ -35,8 +34,8 @@ </ui:style> - <g:FlowPanel addStyleNames="{style.mainPanel}" > + <g:ScrollPanel addStyleNames="{style.mainPanel}" > <g:FlowPanel ui:field="contentPanel" /> - </g:FlowPanel> + </g:ScrollPanel> </ui:UiBinder> -- To view, visit http://gerrit.ovirt.org/20341 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2fedc75dfcd534775fdb80b3364b81d99aab74eb Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Lior Vernia <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
