I know an app can tell if its running in a dashboard or not (using rally.sdk.util.Context), but is there a way for it to know what the dimensions of the dashboard component is?
For example, how many pixels horizontal and vertical do I have to work with?
Thanks…
On SDK 1.0 apps you can use underlying dojo methods to assist in your App creation.
If you want the current size of your App you can use:
That will return you an object that looks like this:
If you want to read up on that function you can do so on dojo’s docs here.