Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1509 closed defect (fixed)

When using multiple TitlePanes is does not collapse correctly

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

Description

TitlePane? is not working properly. Run the example below and try clicking on the first or the second TitlePane?. As you will be able to see, it does not collapse correctly.

<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head>

<title>TitlePane? Test</title>

<script type="text/javascript">

var djConfig = {isDebug: true, debugAtAllCosts: false};

</script> <script type="text/javascript" src="../../dojo.js"></script> <script language="JavaScript?" type="text/javascript">

dojo.require("dojo.widget.TitlePane?"); dojo.hostenv.writeIncludes();

</script> <style>

div.container {

background-color: white; border: 2px solid black; width: 200px; height: 600px; padding: 0px; margin: 0px; overflow: hidden;

}

.label , .content {

width: 300px;

}

.label {

background: grey; height: 20px; border-top: 1px solid black; border-bottom: 1px solid black;

}

.content {

background: #eeeeee;

}

</style> </head> <body>

<div dojoType="TitlePane?" label="TestLabel?" labelNodeClass="label"

containerNodeClass="content"> This is a test - Line 1 This is a test - Line 2 This is a test - Line 3 This is a test - Line 4 This is a test - Line 5

</div> <div dojoType="TitlePane?" label="TestLabel?" labelNodeClass="label"

containerNodeClass="content"> This is a test - Line 1 This is a test - Line 2 This is a test - Line 3 This is a test - Line 4 This is a test - Line 5

</div> <div dojoType="TitlePane?" label="TestLabel?" labelNodeClass="label"

containerNodeClass="content"> This is a test - Line 1 This is a test - Line 2 This is a test - Line 3 This is a test - Line 4 This is a test - Line 5

</div>

</body> </html>

Attachments (1)

test_TitlePane_not_working.html (1.5 KB) - added by gsauere 13 years ago.
Test that shows the bad behavior of TitlePane?

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by gsauere

Test that shows the bad behavior of TitlePane?

comment:1 Changed 13 years ago by dylan

Milestone: 0.40.4.1
Version: 0.40.3

comment:2 Changed 13 years ago by bill

(In [6110]) Test for bug #1509 (references #1509).

comment:3 Changed 13 years ago by bill

Milestone: 0.4.10.4
Resolution: fixed
Status: newclosed

Fixed by [6105] and earlier checkins.

comment:4 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.