How can I get a textbox with formatting options and scrollbars?

Lokendra Saini September 26, 2018

I want a Panel like macro, where I can add some formatting to text( Bold, Italics, preserving white spaces).
It should have a scrollbar as well. (Panel doesn't display the text which goes beyond its boundaries)

2 answers

1 vote
Sireesha Dugginapeddi [Appfire]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 26, 2018

Hope this works!

0 votes
Sireesha Dugginapeddi [Appfire]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 26, 2018

Hi @Lokendra Saini,

You can use a 'Div' macro instead and add required styles in the Style parameter of the macro. As you mentioned, you can format the styles to bold, italics, change the font, add border, change background color, add scrollbar etc...

I am adding an example css style syntax:

border: none; background-color: #d6cd73; font-size: 13px; overflow: scroll;

'overflow: scroll' adds a scrollbar to the 'Div'. You can also fix the height of 'Div' if you want to using - min-height = 200px; max-height = 250px, instead of adding scroll based on your requirement.

Hope this answers your question!

Thanks

Sireesha

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events