Skip to main content
shanmathip7466
Inspiring
Oct 18, 2024 3:15 AM UTC
Solved

In Pane Layout, Space is displayed inside Pane (a! Pane)

  • In a section, I used a pane layout with two panes. In that interface, I don't see any space in the bottom of the pane.
  • But when I call the Section which has pane in the Main form and I add a buttons below that more space is being displayed. I analyzed and I don't see the cause. Attached image of the Main form.

stefanhelzle0001
Brainy
Oct 20, 2024 5:49 PM UTC

The formLayout is the only layout that works in perfect harmony with the various situations a task could be displayed. As a pane layout does not go into a form layout, that's not an option.

You could try to add a card with a fixed height. In case the content grows longer, you will see scroll bars just in that card.

8 replies

kumara0180
Participating Frequently
Oct 18, 2024 4:06 AM UTC

I have seen this as well. Pane does take a default fixed height. You can keep the buttons inside the button to improve the look and feel

shanmathip7466
Inspiring
Oct 18, 2024 5:04 AM UTC

Hi [mention:d71dc0922a44411db41369c6058e69ad:e9ed411860ed4f2ba0265705b8793d05] 

What do you mean by Buttons inside button. I replaced PaneLayout with ColumnsLayout.

kumara0180
Participating Frequently
Oct 18, 2024 6:31 AM UTC

Sorry I meant Button inside paneLayout. Columns Layout is good alternative when you don't want to have independent scrolling in the columns

somasundaram.d
Employee
Oct 18, 2024 6:31 AM UTC

Like formLayout, the pane layout is a top-level layout that is meant to provide the overall structure for an interface. So it is not advised to nest a panelayout inside other components.

But if you still want to have it in a container, you can use headerContentLayout instead of form layout.

shanmathip7466
Inspiring
Oct 20, 2024 4:11 PM UTC

Hi Soma,

Yes I got what you said.

But what if I need a independent scrolling for two columns, and need buttons at bottom as usual.

In my case, it is one of the approval process for the uploaded Invoice document, where I should show the document viewer on the right side. In the left side, extracted Invoice Doc data will be displayed. If they want they can edit the data by referring the doc on right side pane.

Then approver can decide by using three buttons at bottom.

stefanhelzle0001
Brainy
Oct 20, 2024 5:49 PM UTC

The formLayout is the only layout that works in perfect harmony with the various situations a task could be displayed. As a pane layout does not go into a form layout, that's not an option.

You could try to add a card with a fixed height. In case the content grows longer, you will see scroll bars just in that card.

prasantap0900
Participating Frequently
Oct 21, 2024 6:19 AM UTC

you can use card as button