[Dojo-interest] How to set style for a widget from JS code
Olivier THIERRY
olivier.thierry at gmail.com
Wed Feb 28 07:59:32 MST 2007
Hi,
I need to set the style (width and height) for a modal floating pane which
is built from Javascript.
But I can't find the way to do it ...
I think the problem is the same for any widget.
I wrote the following code :
var errorPane = dojo.widget.createWidget(
"ModalFloatingPane",
{
widgetId: "errorPane",
title: "Error",
resizable: false,
hasShadow: true,
displayCloseAction: false,
style: "width:300px;height:200px"
});
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20070228/cbe502e3/attachment.html
More information about the Dojo-interest
mailing list