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

Ipad Text fields not getting aligned properly in portrait mode

SA-6824

Summary



Ipad Text fields are not getting cut -off  in portrait mode i.e. not aligning as per the mobile device width (nstead a horizontal scrollbar is observed)

Error Messages



Not Applicable

Steps to Reproduce



Not Applicable

Root Cause



In Overview tab > Case Contents 
Assignment text is too long which causing the whole page to non-responsive.
eq.,
Get Customer Profile (Applicant Identification)

The issue is with control pyAssignmentsLabel.


Resolution



This issue is resolved in Maintenance Level (ML) release  Pega 7 -  ML8 as there it just displays the flow name.

Issue is resolved by below local change (to modify the control called pyAssignmentsLabel):

in the control we can add ellipses style to anchor tag as mentioned below. 
"<a "\"style=\"display: inline-block; white-space: nowrap;text-overflow: ellipsis;overflow: hidden; width: 200px;\" target=\"_self\" href=\"" + url + "\">"; 
However this can be conventionalized if its mobile device with condition 
if("true".equals(tools.findPage("pxRequestor").getString("pxIsMobileDevice"))) 
other wise we can ignore setting width for non mobile as the situation may not come in desktop for normal scenarios. 
 
 

 

Published January 31, 2016 - 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