cancel
Showing results for 
Search instead for 
Did you mean: 

Assitance with Text Alignment on input text

Sly
7 - Data Storage
7 - Data Storage

Hi 

i have successfully created a form where stakeholders are able to input information. 

the only issue i seem to have now is the ability to center the text input they type and increase the size, i have tried horizontal alignment and size but doesn't seem to work. 

Please see below blox -script:

 

"style": "",
"script": "",
"title": "",
"showCarousel": true,
"body": [
{
"type": "Container",
"width": "90%",
"style": {
"margin": "0 auto"
},
"items": [
{
"type": "TextBlock",
"text": "Campaign Name:",
"weight": "medium",
"size": "medium",
"color": "grey",
"horizontalAlignment": "center",
"wrap": true
},
{
"type": "Input.Text",
"id": "data.message.html",
"placeholder": "XXXX",
"Weight": "bold",
"defaultValue": "",
"isMultiline": true,
"style": {
"width": "100%"
},
"rows": "5",
"borderRadius": "4px",
"borderStyle": "none",
"backgroundColor": "",
"horizontalAlignemt": "center"
},
{
"type": "ActionSet",
"actions": []
}
]
}
]
}
 
please kindly assist. 
 
thank you 🙂 
2 REPLIES 2

harikm007
13 - Data Warehouse
13 - Data Warehouse

Hi @Sly ,

You can update the input box style using "style" attribute.

Please see highlighted code in screenshot

harikm007_0-1665054706884.png

-Hari

 

 

Sly
7 - Data Storage
7 - Data Storage

thank you soo much @harikm007  that worked 🙂