Question

Need help on preventing whitepace in dynamic layouts

Hi,

I have created a custom layout. By configuring it suitably, I am able to ensure that the width of the textbox that is included in it is less than 100% (the intent is to prevent the screen from breaking).

But, a whitespace is appearing within the layout to the right of the textbox during runtime. How can I ensure that the whitespace does not appear?

Thanks!

Sourav

Correct Answer
December 15, 2019 - 4:42pm

Hi Everyone,

I was able to solve this problem a couple of days ago by selecting the flex-nowrap helper class on the presentation tab of the enclosing layout.

@Moderator: Please feel free to close the thread.

Thanks!

Sourav

Comments

Keep up to date on this post and subscribe to comments

December 2, 2019 - 10:48am

The problem is that the width of the cell that contains the textbox remains unchanged while the width of the textbox itself reduces.

December 2, 2019 - 10:55am

Can you share screenshots of the configuration and the behavior to help us visualize this issue?

December 2, 2019 - 2:00pm

Hi,

Thank you for the quick response!!

Screenshot of the layout format in the skin: FAS Fees Inline layout format.jpg

Screenshot of the section rule where the layout has been used: FAS Fees Inline layout in section.jpg

Screenshot of the layout during run time: FAS Fees Inline layout run time.jpg

Thanks!

Sourav

December 3, 2019 - 2:53am

Your width is 90%, but maximum width is 70%. Max width should be more or equal to width.

Plus, what do you mean by "the intent is to prevent the screen from breaking"

December 3, 2019 - 8:43am

Check the Out of the Box  - Inline Grid double layout. You may need something similar.

Set the width to 100% and check whether that helps addresses the white space issue.

December 3, 2019 - 12:47pm

Thanks everyone! I will try the comments and let you know.

December 15, 2019 - 4:42pm

Hi Everyone,

I was able to solve this problem a couple of days ago by selecting the flex-nowrap helper class on the presentation tab of the enclosing layout.

@Moderator: Please feel free to close the thread.

Thanks!

Sourav

December 16, 2019 - 1:41am
Response to SouravS1559

Hi @SouravS1559,

Glad to know the issue is fixed. Thank you for sharing the solution.

 

Vidyaranjan | Community Moderator | Pegasystems Inc.