Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Custom Control - Get dimensions of parent

$
0
0

Thanks. In my particular case the parent is a sap.ui.layout.Grid

 

<l:Grid id="teste" defaultSpan="L2 M2 S12"
   width="auto">

 

The strange thing is that it is returning a 1214 width, when in fact the Grid is much smaller, and the chart is being cut in half. Ever use this on a Grid?

 

Captura de ecrã 2015-03-29, às 09.20.01.png

 

The grid is -xmlview1--teste and the chart is the bottom one, but between them you have that highlighted (dynamic) div that is smaller and I can't seem to access it. That one is defined by the L2 span of the grid.


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>