Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1580 closed defect (fixed)

tabcontainer: layout issue when closing tabs

Reported by: jan831@… Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

having a tabcontainer with lots of tabs, the tabs are placed on 2 lines. But when lot of tabs get closed that they all fit on 1 line, the extra space for the second line of tabs isn't removed.

after resizing the window, the whitespace is removed. Calling the onResized() after destroying a tab would probably fix the problem

Attachments (3)

screenshot.png (26.0 KB) - added by jan831@… 13 years ago.
screenshot using firefox 1.5
PageContainer.js.Bug_TRAC_1580.patch (564 bytes) - added by neil 13 years ago.
PageContainer?.js.Bug_TRAC_1580.patch; patch for $DOJO_ROOT/src/widget/PageContainer.js
test_TabContainer_closed.html (2.3 KB) - added by neil 13 years ago.
testcase for PageContainer?.js.<>.patch; test_TabContainer_closed.html. To be used from $DOJO_ROOT/tests/widget directory

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by jan831@…

Attachment: screenshot.png added

screenshot using firefox 1.5

comment:1 Changed 13 years ago by dylan

Milestone: 0.4
Owner: changed from bill to Dustin Machi

comment:2 Changed 13 years ago by dylan

Milestone: 0.40.4.1

comment:3 Changed 13 years ago by neil

Owner: changed from Dustin Machi to neil
Status: newassigned

Changed 13 years ago by neil

PageContainer?.js.Bug_TRAC_1580.patch; patch for $DOJO_ROOT/src/widget/PageContainer.js

Changed 13 years ago by neil

testcase for PageContainer?.js.<>.patch; test_TabContainer_closed.html. To be used from $DOJO_ROOT/tests/widget directory

comment:4 Changed 13 years ago by bill

Owner: changed from neil to bill
Status: assignednew

comment:5 Changed 13 years ago by bill

Resolution: fixed
Status: newclosed

(In [6544]) Fixes #1580

comment:6 Changed 12 years ago by (none)

Milestone: 0.4.1

Milestone 0.4.1 deleted

Note: See TracTickets for help on using tickets.