Skip to main content
swapnar6405
Known Participant
Mar 2, 2023 7:11 PM UTC
Question

Vertical alignment issue in editable grid

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

Inspiring
Mar 2, 2023 7:20 PM UTC

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

a!paragraphField(
  height: "SHORT"
)
 

swapnar6405
Known Participant
Mar 2, 2023 7:23 PM UTC

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
Brainy
Mar 2, 2023 7:30 PM UTC

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
Known Participant
Jan 31, 2025 3:06 AM UTC

+1 for vertical alignment options in grids