tweak layout flex for Bill History and bill Alternate View, and persist layout
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 11 Dec 2007 17:15:25 +0000 (17:15 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 11 Dec 2007 17:15:25 +0000 (17:15 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@8197 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 5070047..eaf4974 100644 (file)
@@ -21,7 +21,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 <?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>
 
-<window id="bill_history_win" width="700" height="550"
+<window id="bill_history_win" width="700" height="550" persist="sizemode width height"
        onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
        </script>
 
        <vbox flex="1" class="my_overflow">
-               <label id="patron_name" class="patronNameLarge"/>
+        <vbox id="v1" persist="height" flex="1">
+               <label id="patron_name" class="patronNameLarge"/>
+               <groupbox orient="vertical" id="summary" hidden="true" flex="1"/>
+        </vbox>
 
-               <vbox flex="0">
-                       <groupbox orient="vertical" flex="0" id="summary" hidden="true"/>
-                       <iframe id="copy_summary" hidden="true" flex="0"/>
-               </vbox>
+           <splitter><grippy/></splitter>
+
+        <vbox id="v2" persist="height" flex="1">
+                       <iframe id="copy_summary" hidden="true"/>
+        </vbox>
 
                <splitter><grippy/></splitter>
 
-               <groupbox orient="vertical" flex="1">
-                       <caption id="caption" label="Bill History"/>
-                       <tree id="bill_tree" flex="1" enableColumnDrag="true" seltype="single"/>
-                       <hbox>
-                               <spacer flex="1"/>
-                               <button id="add" label="Add Billing" disabled="true"/>
-                               <button id="details" label="Full Details" disabled="true" accesskey="D"/>
-                       </hbox>
-               </groupbox>
-
-               <hbox flex="0">
-                       <button id="opac" label="Show in Catalog" accesskey="S" hidden="true" oncommand="alert('Not Yet Implemented');"/>
-                       <button id="print" label="Print" accesskey="P" hidden="false" oncommand="print_bills();"/>
-                       <spacer flex="1"/>
-                       <button label="Close Window" oncommand="window.close()" accesskey="c"/>
-               </hbox>
+        <vbox id="v3" persist="height" flex="3">
+            <groupbox orient="vertical" flex="1">
+                <caption id="caption" label="Bill History"/>
+                <tree id="bill_tree" flex="1" enableColumnDrag="true" seltype="single"/>
+                <hbox>
+                    <spacer flex="1"/>
+                    <button id="add" label="Add Billing" disabled="true"/>
+                    <button id="details" label="Full Details" disabled="true" accesskey="D"/>
+                </hbox>
+            </groupbox>
+
+            <hbox flex="0">
+                <button id="opac" label="Show in Catalog" accesskey="S" hidden="true" oncommand="alert('Not Yet Implemented');"/>
+                <button id="print" label="Print" accesskey="P" hidden="false" oncommand="print_bills();"/>
+                <spacer flex="1"/>
+                <button label="Close Window" oncommand="window.close()" accesskey="c"/>
+            </hbox>
+        </vbox>
        </vbox>