From 353db0c352b4dff9e25294ba92c35f0b689f32c8 Mon Sep 17 00:00:00 2001 From: amontano Date: Mon, 5 Jul 2004 03:52:30 +0000 Subject: [PATCH] fixed a bit the interface for the handheld version of the translation tool. --- source/org/thdl/tib/scanner/SimpleScannerPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/org/thdl/tib/scanner/SimpleScannerPanel.java b/source/org/thdl/tib/scanner/SimpleScannerPanel.java index b01f6cd..7194944 100644 --- a/source/org/thdl/tib/scanner/SimpleScannerPanel.java +++ b/source/org/thdl/tib/scanner/SimpleScannerPanel.java @@ -55,8 +55,8 @@ public class SimpleScannerPanel extends ScannerPanel implements ItemListener panel1 = new Panel(new BorderLayout()); // txtInput = new TextArea("",1,1,TextArea.SCROLLBARS_VERTICAL_ONLY); - if (landscape) txtInput = new TextArea("", 2, WIDTH_LANDSCAPE, TextArea.SCROLLBARS_VERTICAL_ONLY); - else txtInput = new TextArea("", 3, WIDTH_PORTRAIT, TextArea.SCROLLBARS_VERTICAL_ONLY); + if (landscape) txtInput = new TextArea("", 3, WIDTH_LANDSCAPE, TextArea.SCROLLBARS_VERTICAL_ONLY); + else txtInput = new TextArea("", 4, WIDTH_PORTRAIT, TextArea.SCROLLBARS_VERTICAL_ONLY); //panel1.add(txtInput); panel1.add(txtInput, BorderLayout.NORTH); listDefs = new List();