Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#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 bill

Milestone: 0.90.9beta
Resolution: fixed
Status: newclosed

comment:2 Changed 12 years ago by bill

Component: GeneralDijit
Note: See TracTickets for help on using tickets.