buttonWidget

I got few questions on buttonWidget.

1) a!buttonWidget(

label:"Groups"

)

The label defined inside buttonWidget always displays in Upper case on Interface. Is there any workaround to show the label in the lower case?

 

2)a!buttonWidget(

label:"+"

)

Is there any work around to increase the size of the "+" sign inside the button layout without increasing the button size?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    1) ButtonWidget labels are always uppercase, that is just the style of the UI. A workaround would be to use links instead of buttons, using either a!richTestDisplayField or a!linkField, ex:

    a!richTextDisplayField(
    value: a!richTextItem(
    text: "lowercase label",
    link: a!dynamicLink(
    /*link code*/
    )
    )
    )

    a!linkField(
    links: a!dynamicLink(
    label: "lowercase label"
    /*more link code*/
    )
    )

    2) You can not increase the size of text within a button. A workaround would be to use an a!documentImage with the built-in "ADD" icon, or upload your own image, ex:

    a!imageField(
    images: a!documentImage(
    document: a!iconIndicator(
    "ADD"
    )
    )
    )

    I would also suggest looking for other workarounds as well. While Appian has its limits with button UIs, using "action verbs" as your button text will help to alleviate some of the problems you are finding.
Reply
  • 0
    Certified Lead Developer
    1) ButtonWidget labels are always uppercase, that is just the style of the UI. A workaround would be to use links instead of buttons, using either a!richTestDisplayField or a!linkField, ex:

    a!richTextDisplayField(
    value: a!richTextItem(
    text: "lowercase label",
    link: a!dynamicLink(
    /*link code*/
    )
    )
    )

    a!linkField(
    links: a!dynamicLink(
    label: "lowercase label"
    /*more link code*/
    )
    )

    2) You can not increase the size of text within a button. A workaround would be to use an a!documentImage with the built-in "ADD" icon, or upload your own image, ex:

    a!imageField(
    images: a!documentImage(
    document: a!iconIndicator(
    "ADD"
    )
    )
    )

    I would also suggest looking for other workarounds as well. While Appian has its limits with button UIs, using "action verbs" as your button text will help to alleviate some of the problems you are finding.
Children
No Data