tweak layout flex for Hold Notices, and persist layout
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 11 Dec 2007 18:34:21 +0000 (18:34 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 11 Dec 2007 18:34:21 +0000 (18:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8200 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/hold_notices.xul

index 85f5634..f147a7b 100644 (file)
@@ -19,7 +19,7 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="hold_notices_win" width="700" height="550"
+<window id="hold_notices_win" width="700" height="550" persist="sizemode width height"
        onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }" title="Hold Notices"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
                </groupbox>
        </stack>
 
-       <vbox id="top_panel" flex="1">
-               <label id="patron_name" class="patronNameLarge"/>
-               <iframe id="bib_brief" flex="2"/>
-               <vbox flex="1" style="min-height: 30px">
-                       <tree id="holds_list" flex="1" enableColumnDrag="true" style=""/>
-               </vbox>
-               <hbox>
-                       <button label="Add Record of Notification" accesskey="A" oncommand="new_notification()"/>
-                       <spacer flex="1"/>
-                       <button label="Close" accesskey="C" oncommand="window.close()"/>
-               </hbox>
+    <vbox id="v1" flex="1" persist="height">
+        <label id="patron_name" class="patronNameLarge"/>
+        <iframe id="bib_brief" flex="1"/>
+    </vbox>
+
+    <splitter><grippy/></splitter>
+
+    <vbox id="v2" flex="1" persist="height">
+        <vbox flex="1">
+            <tree id="holds_list" flex="1" enableColumnDrag="true" style=""/>
+        </vbox>
+        <hbox>
+            <button label="Add Record of Notification" accesskey="A" oncommand="new_notification()"/>
+            <spacer flex="1"/>
+            <button label="Close" accesskey="C" oncommand="window.close()"/>
+        </hbox>
        </vbox>
 
-       <vbox flex="9" class="my_overflow" id="notifications_panel">
+    <splitter><grippy/></splitter>
+
+       <vbox persist="height" flex="9" class="my_overflow" id="notifications_panel">
        </vbox>