Can we give width if columnlayout/ Card layout in percentage?
Discussion posts and replies are publicly visible
Hi Harsh, it's not possible to provide width in percentage. You would need to use Appian provided values to control the width.
No. If you want to adjust your columns width based on screen size you can use a!isPageWidth() function to pass different widths depends on screen size.
Hi Harsh,
It's not possible to use percentage. If you want to make responsive column please use the stackWhen property.
Ex:
{ a!columnsLayout( columns: { a!columnLayout( contents: {}, ) }, stackWhen: { "TABLET_PORTRAIT", "TABLET_LANDSCAPE", "DESKTOP_NARROW", "DESKTOP", "DESKTOP_WIDE", "NEVER" } )}