Ticket #7594 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

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

Reported by: taroth Owned by: bill
Priority: normal Milestone: 1.2
Component: Dijit Version: 1.2beta
Severity: normal Keywords: programmatic, tab
Cc: taroth@…

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

test-TabContainer-Empty-prog.html (1.6 kB) - added by taroth 10 months ago.
test-TabContainer-Empty-prog.png (40.1 kB) - added by taroth 10 months ago.

Change History

Changed 10 months ago by taroth

Changed 10 months ago by taroth

Changed 10 months ago by bill

  • status changed from new to assigned
  • owner set to bill
  • summary changed from Programmatically adding a tab to an empty TabContainer displays tab wrong. to TabContainer: programmatically adding a tab to an empty TabContainer displays tab wrong.
  • milestone changed from tbd to 1.2

Changed 10 months ago by bill

  • status changed from assigned to closed
  • resolution set to fixed

(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.