Posted: 1 May 2020 11:58 EDT Last activity: 21 May 2020 1:32 EDT
Using column layouts
I am confused a bit regarding a statement of an article in Pega Community.
Here is the statement: "Column layouts are designed so that the main area stretches to take up available space, whereas the sidebars are a set fixed width."
From my point of view, it argues that the main area have a dynamic width while sidebars width are fixed. Here is the confusion ; when the main area stretches, where is taken the width if sidebars are fixed ?
That statement seems correct. Here is the explanation. Look at the following configuration of column layout, (The screen shot is extracted from Skin > Column layouts )
The configuration allows to set the width for "Side bar", but not allow to set the width for "Main". So, the statement meaning is, side bar column of the column layout is fixed as per its configured value in the Skin, the Main column takes the rest of the width on the section where the column configured (or view port ).
To answer your question, Here is the confusion ; when the main area stretches, where is taken the width if sidebars are fixed ?
When main area stretches, it will occupy the space available in the view port (screen), if the view port space is not sufficient to show the content then it will add a scroll bar, if the configuration does not allow to show the scroll bar, then content will be cropped.
Hope this clarifies. Please feel free to reply if there are any followup questions.