[Webkit-unassigned] [Bug 14265] Cannot resize columns in webinspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 10 11:41:08 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14265





------- Comment #12 from timothy at hatcher.name  2007-08-10 11:41 PDT -------
(From update of attachment 15899)
+            this.views.dom.contentElement.sideContentElement.id =
"treeOutline";
+            this.views.dom.contentElement.mainResizeWidget.id =
"mainResizeWidget";
+            this.views.dom.contentElement.sidebarElement.id =
"propertiesSidebar";

You cannot assign id's to these elements. These elements are created for each
file in the inspector. And id's need to be only used once in the document. You
will not get the element you expect when doing document.getElementById().

+           
document.getElementById("mainResizeWidget").addEventListener("mousedown",
WebInspector.mainResizerDragStart, true);

This code should be:

            
this.views.dom.contentElement.mainResizeWidget.addEventListener("mousedown",
WebInspector.mainResizerDragStart, true);

I also don't think we should have a resize widget in the corner. Resizing by
the divider line is all we need. The divider line is only 1px wide, so a drag
area of 5px (2px on each side, 1px in the center) would be good. Resizing by
the divider is something we are still missing on the file list sidebar, mainly
because this isn't trivial to fix.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list