cancel
Showing results for 
Search instead for 
Did you mean: 

Need to adjust UI elements size according to the users PC screen resolution

Former Member
0 Kudos

Hi All,

I have a requirement where we need to adjust the UI elements on the fom based on the users PC screen resolution.

I am using webdynpro java for my application.

Any pointers on this would be helpful.

Thanks & Regards

Mrudula Jarugula

Accepted Solutions (0)

Answers (2)

Answers (2)

nikhil_bose
Active Contributor
0 Kudos

Hi Mrudula,

Usually webdynpro's are rendered with respect to screen resolution by default provided there is no explicit width-height specification for UI elements.

As specified in the best-practice guidelines, using Matrix Layout and streachedHorizontally to true/false streachedVertically to true/false

avoid size specifications for UI elements and if it is necessary use size in percentage.

cheers,

Nikhil Bose

Former Member
0 Kudos

Hi,

You can use width and height property of UI Elements. Define it in the form of %.

See this link for example.

http://help.sap.com/erp2005_ehp_04/helpdata/EN/5f/949832e2b90b4c940428893ba6cc26/content.htm

Best Wishes

Idhaya R