Skip to main content
Inspiring
May 13, 2024 2:54 AM UTC
Question

Button Style Card Layout

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 6:44 AM UTC

Card layouts do not support adjusting the border color.

girlc0001Author
Inspiring
May 13, 2024 10:06 AM UTC

[mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] 

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

stefanhelzle0001
Brainy
May 13, 2024 11:32 AM UTC

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

richardm900458
Inspiring
May 13, 2024 6:58 AM UTC

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
Inspiring
May 13, 2024 10:06 AM UTC

 [mention:c03f69cc9b264af29d5e31ca80c64eff:e9ed411860ed4f2ba0265705b8793d05] 

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

richardm900458
Inspiring
May 13, 2024 10:31 AM UTC

Edit: sorry i misread - answer incoming