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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Resizing trello power up

I am coding a Trello power up.

I want to display a burndown in a popup but the popup window is too small. 

I tried to resized it with this code:

callback: function(t) {
return t.popup({
title: "Estimation",
url: 'burndown.html',
width: 1000,
height: 600,
});
},

The height is resized but not the width.

Someone have an idea to resolve the problem?

Thanks

1 answer

0 votes
matt Atlassian Team Oct 05, 2018

Hi Eliaou,

 

Unfortunately, the popup control only allows you to alter its height, not its width. I've gone ahead and updated the documentation for it to make that clear: https://developers.trello.com/v1.0/reference#t-popup

However, there might be other controls that would work better for your case. Power-Ups can also open modals, which have two widths, one roughly the width of an open card, and the other gets the full screen width: https://developers.trello.com/v1.0/reference#t-modal

There is also a control called a board bar that lets you get a full width display at the bottom of the board, and you control the height with some limits to not cover the whole board: https://developers.trello.com/v1.0/reference#t-boardbar

Hopefully that helps. Best of luck with your Power-Up. We also have an open Slack community with a channel just for developers that you might be interested in joining: https://trellocommunity.slack.com/messages/C67S4FY4T/

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,656 views 16 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you