Skip to main content
swapnar6405
March 2, 2023
Question

Vertical alignment issue in editable grid

  • March 2, 2023
  • 5 replies
  • 0 views

Hi,

I am trying to load a dropdown along with paragraph Field in each row of the editable grid.  I thought dropdown control will align vertically to top so that both control in each row will appear properly. But, the outcome is NOT looking good.

Is there any alternative way using which I can bring both control to same  height (vertically to the same height)

5 replies

March 2, 2023

In your paragraph field you have a parameter called height, which is used to control the height of paragraph.

a!paragraphField(
  height: "SHORT"
)
 

swapnar6405
March 2, 2023

If I do like this, it is reducing the height of the paragraphField. But, I need bigger height for the paragraphField and I need to just align the dropdown vertically to top.

stefanhelzle0001
March 2, 2023

Grids do not support vertical alignment. But you can use a list of side-by-side layouts to emulate a grid. Cardlayouts can also be used.

aminw4267
January 31, 2025

+1 for vertical alignment options in grids