Ticket #5821 (closed defect: fixed)
TabContainer - Visual problem when creating tab programmatically (both FF and IE)
| Reported by: | guest | Owned by: | bill |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Dijit | Version: | 1.0 |
| Severity: | normal | Keywords: | TabContainer |
| Cc: |
Description (last modified by peller) (diff)
I'm having a problem with TabContainer? when I add a new "tabs" created programmatically. I attach my test HTML page (derived from official Dojo test_TabContainer.html file). It creates an empty TabContainer? declaratively and then in dojo.addOnLoad() I create one tab programmatically.
Everything works fine except that initially when TabContainer? is displayed, the tab created programmatically is not properly resized - see attached tab-FF-1.png (FireFox?) and tab-IE-1.png (MSIE). When I slightly resize the browser's window, the tab is properly resized and fitted into TabContainer? - see attached screenshot tab-FF-2.png and tab-IE-2.png. It works almost identically in both FF 2.0.0.11 and IE 6 (both tested on Win XP).
I tested this with Dojo 1.0.2.