Fix [ 1881605 ] Bad distribution of some windows

This commit is contained in:
Carlos Ruiz 2008-01-29 05:56:53 +00:00
parent 8fab7b03da
commit 6a71c3de64
1 changed files with 4 additions and 2 deletions

View File

@ -74,8 +74,10 @@ public class WebField
m_recordID = AD_Record_ID;
m_fieldLength = fieldLength;
m_displayLength = displayLength;
if (m_displayLength == 0)
m_displayLength = 20; // default length
if (m_displayLength <= 22)
m_displayLength = 22; // default length
else
m_displayLength = 44; // default length
m_longField = longField;
//
m_readOnly = readOnly;