[open-ils-commits] r8198 -
trunk/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 11 12:37:34 EST 2007
Author: phasefx
Date: 2007-12-11 12:17:04 -0500 (Tue, 11 Dec 2007)
New Revision: 8198
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul
Log:
tweak layout flex for Bill History and bill Alternate View, and persist layout
Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul 2007-12-11 17:15:25 UTC (rev 8197)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill_history.xul 2007-12-11 17:17:04 UTC (rev 8198)
@@ -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">
@@ -355,31 +355,37 @@
</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>
+ <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>
+ <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>
More information about the open-ils-commits
mailing list