Skip to Content
0

Disabeling Scrollbar in an Splitter Layout UI5

Oct 12, 2016 at 05:47 PM

91

avatar image
Former Member

Hello,

i have build an UI5 View with a SplitterLayout whichs adding another XMLView.

My Problem is, that this creating a Scrollbar at the bottom and the right part of the UI.(mainContent)

Is there a way to enable the Scrollbar in the xml?

For any kind of Hints i would be grateful.

Xml of the inner Part:

<mvc:View  controllerName="test.App" xmlns="sap.ui.table"<br>  xmlns:mvc="sap.ui.core.mvc" xmlns:m="sap.m" xmlns:u="sap.ui.unified"<br>  xmlns:l="sap.ui.layout" xmlns:core="sap.ui.core" xmlns:viz="sap.viz.ui5.controls"<br>  xmlns:viz.data="sap.viz.ui5.data" xmlns:viz.feeds="sap.viz.ui5.controls.common.feeds"><br> <m:Page id="testPage" showHeader="false" <br> ><br> <m:content><br> <l:Grid defaultSpan="L12 M12 S12"><br> <l:HorizontalLayout width="100%" height="100%"><br> <m:ComboBox id="uuid" items="{path: 'employee>/'}" selectionChange="handleSelectionChange"><br> <core:Item key="{employee>employeeUuid}" text="{employee>formattedEmployeeInfo}" /> <!-- employeeUuid --><br> </m:ComboBox><br> <m:Text id="contextText" ></m:Text><br> </l:HorizontalLayout><br> </l:Grid><br> </m:content><br> </m:Page><br></mvc:View>

Xml of the Overview:

<m:<mvc:View  <br>height="100%"<br>controllerName="test.AppOverview" <br>  xmlns="sap.ui.table"<br>  xmlns:a="sap.ui.commons" <br>  xmlns:mvc="sap.ui.core.mvc" <br>  xmlns:m="sap.m" <br>  xmlns:u="sap.ui.unified"<br>  xmlns:l="sap.ui.layout" <br>  xmlns:core="sap.ui.core" <br>  xmlns:viz="sap.viz.ui5.controls"<br>  xmlns:viz.data="sap.viz.ui5.data" <br>  xmlns:viz.feeds="sap.viz.ui5.controls.common.feeds"<br>  xmlns:html="http://www.w3.org/1999/xhtml"<br>  >Page id="testPage"   showHeader="false"   showNavButton="false" >  <m:content>  <l:Splitter id="mainSplitter" height="720px" width="150%" >    <m:Panel id="mainContent" visible="true" height="720px" width="100%">  <mvc:XMLView viewName="test.App" ></mvc:XMLView>  </m:Panel>  <m:Panel xmlns="sap.m" id="sideContent" visible="true" height="720px" width="50%" >  </m:Panel>  </l:Splitter> </m:content> </m:Page></mvc:View>	
ui5
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers