Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.7.2, 1.8DR#1
-
Fix Version/s: 1.8
-
Component/s: None
-
Labels:None
-
Environment:Windows Vista, Firefox 3.0, Jboss 4.2.3
Description
When a tree with a node with sub-nodes is created, in the source you can see a end line between the two images. This end line create a litle space between the two pictuce as you can see in the capture 1 of the showcase. For example in the tree of the iceFaces showcase at the first generation of the code :
<div ...> <img src="tree_line_blank.gif"/> <a ...><img src="tree_nav_middle_close.gif" alt=""/></a>
<div ...><img src="tree_folder_open.gif" .../></div>
<div ...><a ...><span ...>Western</span></a></div>
But now if you collapse and expand this same node, the code became :
<div ...> <img src="tree_line_blank.gif"/> <a ...><img src="tree_nav_middle_close.gif" alt=""/></a><div ...><img src="tree_folder_open.gif" .../></div><div ...><a ...><span ...>Western</span></a></div>
With the absence of end line, the space disappear and the icon in the tree move a little as you can see in the capture 2 of the showcase.
<div ...> <img src="tree_line_blank.gif"/> <a ...><img src="tree_nav_middle_close.gif" alt=""/></a>
<div ...><img src="tree_folder_open.gif" .../></div>
<div ...><a ...><span ...>Western</span></a></div>
But now if you collapse and expand this same node, the code became :
<div ...> <img src="tree_line_blank.gif"/> <a ...><img src="tree_nav_middle_close.gif" alt=""/></a><div ...><img src="tree_folder_open.gif" .../></div><div ...><a ...><span ...>Western</span></a></div>
With the absence of end line, the space disappear and the icon in the tree move a little as you can see in the capture 2 of the showcase.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Field | Original Value | New Value |
---|---|---|
Attachment | screenshot-1.jpg [ 11354 ] |
Attachment | screenshot-2.jpg [ 11355 ] |
Attachment | bad_tree.JPG [ 11435 ] |
Comment |
[ I confirm the Issue also on Windows XP, FF 3.0 and IE6, and Tomcat 5.5.2x. After a user opens a closes several nodes creates (he uses a little bit his application) the result is the one you see in bad_tree.jpg ] |
Attachment | DOMUtils.java [ 11514 ] |
Attachment | err.PNG [ 11602 ] |
Attachment | tree_folder_closed.gif [ 11609 ] |
Attachment | TreeRenderer.java [ 11610 ] |
Salesforce Case | [] | |
Fix Version/s | 1.8 [ 10161 ] | |
Assignee Priority | P3 | |
Assignee | Yip Ng [ yip.ng ] | |
Priority | Major [ 3 ] | Trivial [ 5 ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Attachment | Problem with icons vertical align.jpg [ 11632 ] |
Attachment | Problem with icons vertical align.jpg [ 11632 ] |
Attachment | Nodes with children aren't aligned horizontally.jpg [ 11633 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Attachment | ScreenHunter_01 Mar. 26 13.59.jpg [ 11635 ] |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Assignee Priority | P3 |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Yip Ng [ yip.ng ] |