#1988 closed task (fixed)
refactor resizing of layout widgets
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 0.9beta |
Component: | Dijit | Version: | 0.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Change HtmlWidget?.resizeTo() to take {width: 500, height: 500} type argument, so that either width or height can be omitted. Change dojo.html.layout() to always call resizeTo(), rather than adjusting the domNode directly.
Current resizeTo() functions often call dojo.html.setMarginBox(), then [perhaps calling checkSize() or onResized()], call dojo.html.getContentBox(). Seems inefficient. Can we change resizing to not query the browser for anything? (Then you could even size stuff while it was hidden.)
Change History (2)
comment:1 Changed 12 years ago by
Milestone: | 0.9 → 0.9beta |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 12 years ago by
Component: | General → Dijit |
---|
Note: See
TracTickets for help on using
tickets.