Skip to main content
May 13, 2024
Question

Button Style Card Layout

  • May 13, 2024
  • 14 replies
  • 0 views

Hi 

Need some one help!!

I want to create a button style card layout.I cannot change  outer line color .How can i change outline color

 a!columnsLayout(
            columns: {
              a!columnLayout(
                contents: {
                  a!cardLayout(
                    contents: a!richTextDisplayField(
                      value: {
                        a!richTextItem(
                          text: "Back",
                          color: "ACCENT",
                          style: "STRONG"
                         
                        )
                      },
                      
                      align: "CENTER",
                      marginAbove: "NONE",
                      marginBelow: "EVEN_LESS"
                    ),
                    link: a!dynamicLink(
                      value: "ACCEPT"
                      /*saveInto: local!acceptTask,*/
                      /*showWhen: count(tointeger(local!selected)) <= 50*/
                    )
                    
                    /*style: "INFO"*/
                  )
                }
              ),
              a!columnLayout(
                contents: {}
              ),
              a!columnLayout(
                contents: {}
              )
            }
          )

My desire image is below.

14 replies

stefanhelzle0001
Brainy
May 13, 2024

Card layouts do not support adjusting the border color.

girlc0001Author
May 13, 2024

[mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] 

How can I create the button design I want without using card layout?

stefanhelzle0001
Brainy
May 13, 2024

I do not fully understand your question. Is a buttonWidget not an option for you?

richardm900458
May 13, 2024

stefan said it already. Thats not possible

you can see the parameter you can set in the appian documentation
e.g.
https://docs.appian.com/suite/help/24.1/card_layout.html

the only parameter who influences the border are:
"showBorder" :      whether the layout has an outer border
"shape "                    Determines the card shape

girlc0001Author
May 13, 2024

 [mention:c03f69cc9b264af29d5e31ca80c64eff:e9ed411860ed4f2ba0265705b8793d05] 

How can I create the button design I want without using card layout?

richardm900458
May 13, 2024

Edit: sorry i misread - answer incoming