开发者

dijit BorderContainer auto-grow

Is there a way to have a dijit.layout.BorderContainer auto-grow in height? I've tried setting min-height: 200px; height: auto;, but it won't scale.

I've tried looking at the API, but that thing is a mess...开发者_运维问答 So any help would be appreciated (:


You can use the resize() method to change its size dynamically.

The outer size must be specified on the BorderContainer node

You need to specify width/height on the BorderContainer itself, in pixels. You can't use auto, and min-height isn't supported AFAIK. You can, however, use widget attributes minSize and maxSize to set boundaries on the splitters within the container.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜