From a531966a2c5aed79a0e361766db0e3b115709091 Mon Sep 17 00:00:00 2001 From: David Norton Date: Wed, 24 May 2006 18:43:49 +0000 Subject: [PATCH] More UI experimentation --- .../chromeFiles/content/scholar/overlay.xul | 3 +- chrome/chromeFiles/content/scholar/scholar.js | 6 +++ .../chromeFiles/content/scholar/scholar.xul | 51 +++++++++---------- 3 files changed, 31 insertions(+), 29 deletions(-) diff --git a/chrome/chromeFiles/content/scholar/overlay.xul b/chrome/chromeFiles/content/scholar/overlay.xul index 5642423f5f..b9eb20525d 100644 --- a/chrome/chromeFiles/content/scholar/overlay.xul +++ b/chrome/chromeFiles/content/scholar/overlay.xul @@ -18,7 +18,8 @@ - + diff --git a/chrome/chromeFiles/content/scholar/scholar.js b/chrome/chromeFiles/content/scholar/scholar.js index f2224c19e6..8424f148e7 100644 --- a/chrome/chromeFiles/content/scholar/scholar.js +++ b/chrome/chromeFiles/content/scholar/scholar.js @@ -59,4 +59,10 @@ function deleteSelection() { itemsView.deleteSelection(); } +} + +function search() +{ + //TO DO: reload items tree with a search instead of a root folder + alert(document.getElementById('tb-search').value); } \ No newline at end of file diff --git a/chrome/chromeFiles/content/scholar/scholar.xul b/chrome/chromeFiles/content/scholar/scholar.xul index 263614374d..aa011797f1 100644 --- a/chrome/chromeFiles/content/scholar/scholar.xul +++ b/chrome/chromeFiles/content/scholar/scholar.xul @@ -35,12 +35,14 @@ + + - - + + @@ -54,6 +56,10 @@ + + + + @@ -67,7 +73,7 @@ - + @@ -89,18 +95,16 @@ - + persist="width" flex="1"> + persist="height" flex="1"> + flex="4" persist="width ordinal hidden"/> + flex="1" persist="width ordinal hidden"/> + flex="1" persist="width ordinal hidden"/> @@ -145,20 +148,12 @@ - - - - - - - - - - - - - + + + + +