Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,415
Community Members
 
Community Events
185
Community Groups

How to format a wiki-markup column with a background color with the same width in Structure?

Edited

I am using the Structure plugin.
I have a column with a formula formatted with a wiki markup.

Something like:

if(.....;
"{panel:borderStyle=solid|borderColor=white|bgColor=#59B161}{color:white}OK{color}{panel}";
..

The formula works nice, but I would like to have the same width for the different values?
Is it possible?

Schermata 2020-05-29 alle 22.58.51.png

1 answer

1 accepted

2 votes
Answer accepted
Egor Tasa [ALM Works]
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.
Jun 01, 2020

Hi Gabriele;

Unfortunately, the width attribute is not supported, so the best approach in my opinion would be to pad text with unbreakable spaces. You may also want to make it monospaced {{text}} to make it match better - you need to monospace all your labels for that.

{panel:borderStyle=solid|borderColor=white|bgColor=#59B161}{color:white}{{    OK    {color}}}{panel}

Alternative would be to use images with equal width. There may be some other solutions including automated ones, which employ REPEAT() function (like here) to pad values. But these may be too complex for your use case.

Regards,

Egor Tasa
ALM Works

Thanks for the feedback. 

@Egor Tasa [ALM Works] , Is this still the same?
I have a dynamic numeric value column and the space won't work.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events