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

Resizing trello power up

Eliaou Cohen October 4, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
October 5, 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
AUG Leaders

Atlassian Community Events