cancel
Showing results for 
Search instead for 
Did you mean: 

Layout: Control Size

Former Member
0 Kudos

Hello,

at the moment I have the requirement to increase the size of different controls in webdynpros, because on the new monitor-type with high resolutions in the sales dep the elements are displayed too small. I'm just a novice with wd4a like everyone else in our company and already searched for about 4 hours on a solutions.

Can someone help me with this sizing problem please? The most importent elements are InputFields, TextViews and Buttons.

Many thanks in advance.

BR

Alfons

Accepted Solutions (1)

Accepted Solutions (1)

thomas_szcs
Active Contributor
0 Kudos

Hello Alfons,

Besides adjusting the css styles, you could also adjust the overall magnification of the web page by selecting View->Text Size->... from the menu of the Internet Explorer.

Best regards,

Thomas

Former Member
0 Kudos

Hi Alfons,

You can control the size of your UI Elements depending on the screen area. To do this you can set the property 'width' in the LayoutData of that particular UI Element. You can set this as a percentage (say 10% of screen width for buttons) or in pixels.

Now, even if the resolution changes, the size of your element will always be in respect to that

Regards,

Neha

<i><b>PS: Reward if helpful</b></i>

Former Member
0 Kudos

Hi Thomas,

thanks for your reply. The sizing via Internet Explorer can't be used, because the employee must do this adjustment every time he starts a new Internet Explorer. That's not very user-friendly i think..

You also mentioned the use of css stylesheets in webdynpros. Can you describe how this is done or can you give me a link to an example/documentaion please?

BR,

Alfons

Former Member
0 Kudos

Hi Alfons,

for information on using stylesheets, see

Regards, Heidi

Answers (0)