Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to wrap text in a button Title?

John Lee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2019

I want to use Continuous Development as a button title.

It is essential the button shrinks in width as the page is resized downwards, until a certain point is reached, when the button then remains fixed in size.

The length of the phrase exceeds the minimum width of the button, resulting in the text extending beyond the button border.

So I need the phrase to wrap to become:

Continuous
Development

1 answer

1 accepted

0 votes
Answer accepted
Natalie Paramonova [Stiltsoft]
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.
January 31, 2019

Hi John,

I'm not sure about your specific use case with resizing a page but you can try the Handy Button macro (one from our Handy Macros app) in case you use Confluence Server or Data Center.

You can set the button's width in pixels:

  • If no width is set, it will be determined by the text length.
  • If the width is set, the button will be rendered using this width. If the text can't be rendered within a single line due to the width limitation, it will be rendered using multiple lines. The height of the button will increase in this case.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events