Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 397622

Summary: splitter - make it obvious for clients to change the default proportions
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: ClientAssignee: Susan McCourt <susan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon
Version: 1.0   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Susan McCourt CLA 2013-01-07 15:47:53 EST
Mark is using splitter but wanted a different ration than 1/3->2/3.
I told him to hack the CSS for the pane widths and it didn't matter, because splitter.js is actually using the split bar location for the initial position.

Now I'm thinking we don't even need widths defined in
sidePanelLayout
mainPanelLayout

And for splitLayout, we might want to separate out the position info (which clients will want to override) from the other stuff.  Or we just document that clients should set left: xx in their HTML to control the position.
Comment 1 Susan McCourt CLA 2013-01-17 12:13:05 EST
I was just explaining this stuff to Libing, so I updated the doc.  The css comments now explain the concept, the class itself has documentation, and the splitter js code also mentions it.

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=1027fd40d033314db2c8dc3c7c42d885cef8bec6