Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Resize of work area does not work when window is resized

SA-12383

Summary



If application is launched when window is not maximized, content appears as per current size of window. But when the window is maximized, resizing of work area does not happen and it appears as if work area shrunk.

Error Messages



Not Applicable

Steps to Reproduce



1. Open IE, click Restore button of Window.
2. Launch the portal URL, portal content appears according to current window size and a scroll bar appears.
3. Click Maximize button of window. Observe that work area is not resized according to maximized size of window.


Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules. This is a resizing issue.

Resolution




This issue is resolved through the following local-change: 

Add the following script to UserWorkForm: 


<script> 
pega.u.d.attachOnload( function() {$("div[id*='PegaWebGadget']").each(function() {this.setAttribute("PegaSizeInPercentage", "true")})}, true); 
</script>
 

Published July 23, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us