cancel
Showing results for 
Search instead for 
Did you mean: 

WDA IFRAME -> Set Height in %

prabhu_s2
Active Contributor
0 Kudos

Hi

I have a single view with IFRAME activated. Giving the height and width in 'px' seems to work but doesn't seem proper when the resolution of the monitor (incl size) varies. So decided to check with '%' but it seems not to work. Any inputs on how to control this?

the iframe has url source to BSP.

I tried giving the values to root UI element in % and also specifying the stretched horizontally/vertically but none seems to work.

appreciate any help on this

nb: IFRAME is called by  if_wd_window_manager->create_window

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184578
Active Contributor
0 Kudos

Hi,

The CSS Size % donot usually work for height data. Also, the % depends on the surrounding container layout. 

% s usually donot work for height. you can refer this help for more details: Methods and Properties of UI Elements - Web Dynpro for ABAP - SAP Library

hope this helps you,

Regards,

Kiran