diff --git a/client/src/org/compiere/pos/PosPanel.java b/client/src/org/compiere/pos/PosPanel.java index 15f1ef181c..7baa730103 100644 --- a/client/src/org/compiere/pos/PosPanel.java +++ b/client/src/org/compiere/pos/PosPanel.java @@ -131,7 +131,7 @@ public class PosPanel extends CPanel } frame.getContentPane().add(this, BorderLayout.CENTER); frame.getContentPane().add(f_status, BorderLayout.SOUTH); - this.setPreferredSize(new Dimension (800-20,500-20)); + this.setPreferredSize(new Dimension (850-20,500-20)); } catch(Exception e) { diff --git a/client/src/org/compiere/pos/SubCurrentLine.java b/client/src/org/compiere/pos/SubCurrentLine.java index 9d489a4f08..0a25cc4667 100644 --- a/client/src/org/compiere/pos/SubCurrentLine.java +++ b/client/src/org/compiere/pos/SubCurrentLine.java @@ -94,7 +94,7 @@ public class SubCurrentLine extends PosSubPanel implements ActionListener { gbc.insets = INSETS2; gbc.gridy = 0; // -- - f_new = createButtonAction("New", KeyStroke.getKeyStroke( + f_new = createButtonAction("Save", KeyStroke.getKeyStroke( KeyEvent.VK_INSERT, Event.SHIFT_MASK)); gbc.gridx = 0; add(f_new, gbc); @@ -170,7 +170,7 @@ public class SubCurrentLine extends PosSubPanel implements ActionListener { return; log.info( "SubCurrentLine - actionPerformed: " + action); // New / Reset - if (action.equals("New")) + if (action.equals("Save")) saveLine(); else if (action.equals("Reset")) newLine(); diff --git a/client/src/org/compiere/pos/SubFunctionKeys.java b/client/src/org/compiere/pos/SubFunctionKeys.java index 89ab778705..57d65aa0e5 100644 --- a/client/src/org/compiere/pos/SubFunctionKeys.java +++ b/client/src/org/compiere/pos/SubFunctionKeys.java @@ -73,7 +73,7 @@ public class SubFunctionKeys extends PosSubPanel implements ActionListener if (fKeys.get_ID() == 0) return; - int COLUMNS = 4; // Min Columns + int COLUMNS = 3; // Min Columns int ROWS = 6; // Min Rows m_keys = fKeys.getKeys(false); int noKeys = m_keys.length; @@ -117,7 +117,7 @@ public class SubFunctionKeys extends PosSubPanel implements ActionListener button.setBackground(Color.cyan); content.add (button); } - content.setPreferredSize(new Dimension(cols*180, rows*50)); + content.setPreferredSize(new Dimension(cols*80, rows*50)); add (content); } // init