Remote widget resizing
Hi, I've juste created a Remote widget because I need dynamic resizing capability, but it doesn't seem to work. The widget doesn't resize when I hit the Go button in my widget. I resized the page body.
You can test it at http://www.widgetbox.com/widget/07b45...
Maybe the real problem is that I didn't understand that "dynamic" means "dynamic initial" resizing.
You can test it at http://www.widgetbox.com/widget/07b45...
Maybe the real problem is that I didn't understand that "dynamic" means "dynamic initial" resizing.
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company thinks this is not a problem.
-
Inappropriate?Hey Olivier,
You'll need to call that function again if you want the widget to resize again after you get your search results. Right now, it looks like (and I could definitely be missing you doing this call after the fact) that you're only making the call onload. Is this correct?
1 person says
this solves the problem
-
Hi,
That worked like a charm. I couldn't find any doc, but with the help of jsbeautifier.org, I managed to do a:
var widgetInitialized = false;
new AmazonWidget({resizeListener: function(newHeight) {
if (!widgetInitialized) {
widgetInitialized = true;
WIDGETBOX.publisher.Main.setWidgetLoaded();
} else {
WIDGETBOX.publisher.Main.sizeWidgetToContents();
}
}});
Btw, I couldn't find any support for desktop platforms. Is it planned ? -
Right now, we're focussed on web widgets. We've tinkered with adding support for Dashboard widgets etc., but it's not planned to come up anytime soon in the roadmap.
Loading Profile...



