Author: jleroux Date: Fri Sep 29 01:34:00 2006 New Revision: 451161 URL: http://svn.apache.org/viewvc?view=rev&rev=451161 Log: I doubled sizes of controls (buttons and such) in Save and Load Sale dialogs. To ease use on tactile screens. Some new styles also and miscelaneous text changes
Modified: incubator/ofbiz/trunk/applications/pos/config/XuiLabels.properties incubator/ofbiz/trunk/applications/pos/config/pos.properties incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml incubator/ofbiz/trunk/applications/pos/styles/posstyles.xml Modified: incubator/ofbiz/trunk/applications/pos/config/XuiLabels.properties URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/config/XuiLabels.properties?view=diff&rev=451161&r1=451160&r2=451161 ============================================================================== --- incubator/ofbiz/trunk/applications/pos/config/XuiLabels.properties (original) +++ incubator/ofbiz/trunk/applications/pos/config/XuiLabels.properties Fri Sep 29 01:34:00 2006 @@ -66,7 +66,7 @@ SIGN_OUT=SIGN OUT SKU=SKU Save=Save -SaveAndClear=<html><center>Save and<br>clear the sale +SaveAndClear=<html><center>Save and<br>clear current sale TERMINAL_IS_CLOSED=TERMINAL IS CLOSED TEST_ALERT=TEST ALERT TEST_ALERT_BOX=TEST ALERT BOX - TESTING THE DIALOG IMPLEMENTATION Modified: incubator/ofbiz/trunk/applications/pos/config/pos.properties URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/config/pos.properties?view=diff&rev=451161&r1=451160&r2=451161 ============================================================================== --- incubator/ofbiz/trunk/applications/pos/config/pos.properties (original) +++ incubator/ofbiz/trunk/applications/pos/config/pos.properties Fri Sep 29 01:34:00 2006 @@ -52,7 +52,7 @@ REFNUM=Enter Reference Number: SKU=SKU Sales_Tax=Sales Tax -SaveASale=Save the current sale +SaveASale=Save current sale Saving=Saving sale... Shutting_down=Shutting down... TOTAL=TOTAL Modified: incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml?view=diff&rev=451161&r1=451160&r2=451161 ============================================================================== --- incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml (original) +++ incubator/ofbiz/trunk/applications/pos/screens/default/dialog/loadsale.xml Fri Sep 29 01:34:00 2006 @@ -17,15 +17,15 @@ --> <XPage class="net.xoetrope.swing.XDialog"> <Components> - <Panel name="salesPanel" x="0" y="0" w="340" h="420"> - <ScrollPane name="scroolList" x="10" y="10" w="200" h="400"> - <List name="salesList" x="0" y="0" w="200" h="400" /> + <Panel name="salesPanel" x="0" y="0" w="680" h="420" style="menu"> + <ScrollPane name="scroolList" x="20" y="20" w="400" h="372"> + <List name="salesList" x="0" y="0" w="400" h="400" style="editAndList"/> </ScrollPane> - <Button name="BtnCancel" x="230" y="10" w="90" h="22" content="Cancel"/> - <Button name="BtnAdd" x="230" y="50" w="90" h="22" content="Add"/> - <Button name="BtnReplace" x="230" y="80" w="90" h="22" content="Replace"/> - <Button name="BtnDelete" x="230" y="110" w="90" h="22" content="Delete"/> - <Button name="BtnReplaceAndDelete" x="230" y="140" w="90" h="66" content="ReplaceAndDelete"/> + <Button name="BtnCancel" x="460" y="20" w="180" h="44" content="Cancel" style="dialogButton"/> + <Button name="BtnAdd" x="460" y="80" w="180" h="44" content="Add" style="dialogButton"/> + <Button name="BtnReplace" x="460" y="140" w="180" h="44" content="Replace" style="dialogButton"/> + <Button name="BtnDelete" x="460" y="200" w="180" h="44" content="Delete" style="dialogButton"/> + <Button name="BtnReplaceAndDelete" x="460" y="260" w="180" h="132" content="ReplaceAndDelete" style="dialogButton"/> </Panel> </Components> </XPage> Modified: incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml?view=diff&rev=451161&r1=451160&r2=451161 ============================================================================== --- incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml (original) +++ incubator/ofbiz/trunk/applications/pos/screens/default/dialog/savesale.xml Fri Sep 29 01:34:00 2006 @@ -17,11 +17,11 @@ --> <XPage class="net.xoetrope.swing.XDialog"> <Components> - <Panel name="salePanel" x="0" y="0" w="340" h="160"> - <Edit name="saleName" x="10" y="10" w="200" h="22" /> - <Button name="BtnCancel" x="230" y="10" w="90" h="22" content="Cancel"/> - <Button name="BtnSave" x="230" y="50" w="90" h="22" content="Save"/> - <Button name="BtnSaveAndClear" x="230" y="80" w="90" h="66" content="SaveAndClear"/> + <Panel name="salePanel" x="0" y="0" w="680" h="320" style="menu"> + <Edit name="saleName" x="20" y="20" w="400" h="44" style="editAndList"/> + <Button name="BtnCancel" x="460" y="20" w="180" h="44" content="Cancel" style="dialogButton"/> + <Button name="BtnSave" x="460" y="80" w="180" h="44" content="Save" style="dialogButton"/> + <Button name="BtnSaveAndClear" x="460" y="140" w="180" h="132" content="SaveAndClear" style="dialogButton"/> </Panel> </Components> </XPage> Modified: incubator/ofbiz/trunk/applications/pos/styles/posstyles.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/styles/posstyles.xml?view=diff&rev=451161&r1=451160&r2=451161 ============================================================================== --- incubator/ofbiz/trunk/applications/pos/styles/posstyles.xml (original) +++ incubator/ofbiz/trunk/applications/pos/styles/posstyles.xml Fri Sep 29 01:34:00 2006 @@ -89,6 +89,14 @@ <font_weight value="0"/> <font_italic value="0"/> </style> + <style name="editAndList"> + <color_back value="ffffff"/> + <color_fore value="000000"/> + <font_face value="verdana"/> + <font_size value="12"/> + <font_weight value="1"/> + <font_italic value="0"/> + </style> <!-- dynamic button styles --> <style name="numButton"> @@ -136,6 +144,14 @@ <color_fore value="990000"/> <font_face value="verdana"/> <font_size value="14"/> + <font_weight value="1"/> + <font_italic value="0"/> + </style> + <style name="dialogButton"> + <color_back value="cccccc"/> + <color_fore value="000000"/> + <font_face value="verdana"/> + <font_size value="12"/> <font_weight value="1"/> <font_italic value="0"/> </style>