Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Custom Control - Get dimensions of parent

$
0
0

I'm creating a new control, but in the init/rendeder/onAfterRenderer I would like to know the dimensions (width, height) of the parent control (basically the parent control where I used the "AddContent"). I'm working with D3 and I need to rescale the graphic if the parent is too small.

 

I've tried several possibilities but no luck, any ideas?

 

Thank you


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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