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
why not simply allow different capitalizations?
Can you please explain?
Can you explain more on this?
Hi Prasanta Paul, What I meant is that It would be great if Appian offered different case options for buttons (lowercase, uppercase, title case, sentence case). most modern UIs use sentence case.
For this question I used below logic and achieve my requirement.
a!columnsLayout( columns: { a!columnLayout( contents: { a!cardLayout( height: "", contents: { a!sideBySideLayout( alignVertical: "MIDDLE", spacing: "DENSE", items: { a!sideBySideItem( item: a!richTextDisplayField( labelPosition: "COLLAPSED", align: "RIGHT", value: a!richTextIcon( icon: "plus", size: "MEDIUM", color: "POSITIVE", linkStyle: "STANDALONE" ) ) ), a!sideBySideItem( width: "MINIMIZE", item: a!richTextDisplayField( labelPosition: "COLLAPSED", align: "RIGHT", value: a!richTextItem( text: upper(" Create Hiring Plan"), size: "MEDIUM", linkStyle: "STANDALONE" ) ) ) } ) } ) } ), a!columnLayout(contents: {}), a!columnLayout(contents: {}), a!columnLayout(contents: {}), a!columnLayout(contents: {}) })
Makes it more readable ...
Try if the code below works for your 2nd question
a!buttonWidget( icon: "plus" )
Yes, that's right.