* Remove strange default minimum size set in CTextField constructor
* Fixed layout bug reported by jsSolution
This commit is contained in:
parent
dfd2e986e2
commit
fb90ac32ec
|
@ -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
|
||||
|
||||
/*************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue