Change layout border color

Hi

Is there a way to change layout border color from default gray to any other? I would like to have several layouts with different border colors.

Thank you

  Discussion posts and replies are publicly visible

Parents
  • Hi ,

    you can use a!cardLayout() with in other a!cardLayout()  as below example 

    a!cardLayout(
    contents: {
    a!cardLayout(
    height: "AUTO",
    marginbelow: "STANDARD",
    contents: a!richTextDisplayField(
    value: {
    a!richTextIcon(
    icon: "calendar",
    color: "ACCENT",
    size: "LARGE"
    ),
    char(
    10
    ),
    a!richTextItem(
    text: {
    "Time"
    },
    size: "LARGE"
    ),
    char(
    10
    ),
    a!richTextItem(
    text: {
    "Timesheets, PTO"
    },
    style: "EMPHASIS"
    )
    },
    align: "CENTER"
    ),
    style: "STANDARD"
    )
    },
    style: "ACCENT"
    )

Reply
  • Hi ,

    you can use a!cardLayout() with in other a!cardLayout()  as below example 

    a!cardLayout(
    contents: {
    a!cardLayout(
    height: "AUTO",
    marginbelow: "STANDARD",
    contents: a!richTextDisplayField(
    value: {
    a!richTextIcon(
    icon: "calendar",
    color: "ACCENT",
    size: "LARGE"
    ),
    char(
    10
    ),
    a!richTextItem(
    text: {
    "Time"
    },
    size: "LARGE"
    ),
    char(
    10
    ),
    a!richTextItem(
    text: {
    "Timesheets, PTO"
    },
    style: "EMPHASIS"
    )
    },
    align: "CENTER"
    ),
    style: "STANDARD"
    )
    },
    style: "ACCENT"
    )

Children