* Remove strange default minimum size set in CTextField constructor

* Fixed layout bug reported by jsSolution
This commit is contained in:
Heng Sin Low 2006-12-01 05:38:53 +00:00
parent dfd2e986e2
commit fb90ac32ec
1 changed files with 0 additions and 6 deletions

View File

@ -119,12 +119,6 @@ public class CTextField extends JTextField
private void init()
{
setBackground (false);
// Minimum Size
Dimension size = getPreferredSize();
if (size != null)
size = new Dimension (20,10);
size.width = 30;
setMinimumSize(size);
} // init
/*************************************************************************/