Opened 11 years ago

Closed 11 years ago

#7594 closed defect (fixed)

TabContainer: programmatically adding a tab to an empty TabContainer displays tab wrong.

Reported by: taroth Owned by: bill
Priority: high Milestone: 1.2
Component: Dijit Version: 1.2beta
Keywords: programmatic, tab Cc: taroth@…
Blocked By: Blocking:

Description

When adding a tab to an empty tab container, the content area is not properly sized until a second tab is added.

Last tested svn version: 15124.

Browser: Firefix 3.0.1 (Ubuntu Hardy).

Attached a test case showing problem and a screenshot.

Attachments (2)

test-TabContainer-Empty-prog.html (1.6 KB) - added by taroth 11 years ago.
test-TabContainer-Empty-prog.png (40.1 KB) - added by taroth 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by taroth

Changed 11 years ago by taroth

comment:1 Changed 11 years ago by bill

Milestone: tbd1.2
Owner: set to bill
Status: newassigned
Summary: Programmatically adding a tab to an empty TabContainer displays tab wrong.TabContainer: programmatically adding a tab to an empty TabContainer displays tab wrong.

comment:2 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [15137]) Fixes #5821, fixes #7594: programatically adding tab to empty TabContainer? fails. Problem was that we were querying size of tab strip before any tabs had been created, thus it was coming out as 0.

May also help fix part of #4502 (refs #4502).

!strict

Note: See TracTickets for help on using tickets.