cancel
Showing results for 
Search instead for 
Did you mean: 

How to set width to be same as screen size?

Former Member
0 Kudos

Dear all

I want to set the width of my view elements to be same as that of screen size, so that if a user with low resolution monitor runs it, or if a user with high resolution monitor runs it, both see the same.

I tried setting the width to 100%. But it is not working.

My root container layout is Grid layout.

Any suggestions please?

Thanks in adv.

Accepted Solutions (1)

Accepted Solutions (1)

S-H
Active Participant
0 Kudos

Hi,

For ROOTUIELEMENTCONTAINER set the stretchedHorizontally,stretchedVertically to true.

And for the UI element set width as 100%, this will make the UI elem to expand to the complete screen.

Best regards,

Suresh

Message was edited by:

Suresh Honnappanavar

Former Member
0 Kudos

That doesn't work Suresh.

Former Member
0 Kudos

Hi Aishi,

Set the width for all the UI elements such as tables, tabstrips (those which you need to be stretched) as 100%, also set the width of all the container, group elements as 100%. This should work. The layout doesn't matter.

Regards,

Wenonah

Answers (0)