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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.