cancel
Showing results for 
Search instead for 
Did you mean: 

Adjust Layout size depending on Browser size

dinakaran_g
Explorer
0 Kudos

Hello Experts,

I have the requirement to adjust the Web Dynpro ABAP View's (Layout)
size automatically according to the browser's size (Minimize or Maximize or
Restore). In layout I tried by setting width as percentage, but it was not
working. Please advice to fit the size of the screen to the browser size.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dina,

If you set the width to 100% it will work. Which UI elements you are using?

-Manish

dinakaran_g
Explorer
0 Kudos

Hi Manish, 

Thanks for your suggestion. 

I tried by setting the width of UI element as 100% but it was not work.

I have 5 Radio buttons inside the transparent container, when
Zoom In or Zoom Out the browser it is working fine by enlarging and reducing its
size correspondingly. But when I modify the browser width or height
manually the UI elements size are not getting changed.

Thanks.

Former Member
0 Kudos

Hi Dina,

For transparent container it should work with 100% or blank. Try to make the rootuielement and tc both as 100% and also any other container if you have used make that also 100%.

Also, note that the transparent container will not be visible. Only the radiobuttons will be visible. And it might be that the width is adjusting but its not visible as radiobuttons have less width and no need to adjust.

Please add a screenshot of what you are trying to tell.

-Manish