From 4a990aea9b3dc53a48c6c1f226528a206b9a51fc Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 15 Jul 2010 21:04:19 +0200 Subject: [PATCH] make groups resizable --- pandora/static/js/pandora.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pandora/static/js/pandora.js b/pandora/static/js/pandora.js index f3ab9b7ee..3d66785c2 100755 --- a/pandora/static/js/pandora.js +++ b/pandora/static/js/pandora.js @@ -112,6 +112,7 @@ $(function() { ui: { columns: ["id", "title", "director", "country", "year", "language", "runtime", "genre"], find: { conditions: [{ key: "", value: "", operator: "" }], operator: "" }, + groupsSize: 128, itemView: "info", listsSize: 192, listView: "list", @@ -647,9 +648,9 @@ $ui.statusbar = new Ox.Bar({ id: "leftPanel", orientation: "vertical" }), - size: user.ui.listsSize, resizable: true, - resize: [128, 192, 256] + resize: [128, 192, 256], + size: user.ui.listsSize }, { element: $ui.rightPanel = new Ox.SplitPanel({ @@ -662,6 +663,7 @@ $ui.statusbar = new Ox.Bar({ element: $ui.contentPanel = new Ox.SplitPanel({ elements: [ { + collapsible: true, element: $ui.groupsOuterPanel = new Ox.SplitPanel({ elements: [ { @@ -693,7 +695,9 @@ $ui.statusbar = new Ox.Bar({ ], orientation: "horizontal" }), - size: 128 + resizable: true, + resize: [96, 112, 128, 144, 160, 176], + size: user.ui.groupsSize }, { element: $ui.list = constructList(user.ui.listView)