- This allows to set autoSize on editor from outside without the DataBox reverting it to 'false'
- Useful to setup editor alignment by setting autoSize on the editor itself within a DataBox
filling up the ListBox cell ( http://ecere.com/forums/viewtopic.php?f=1&t=414 )
if(eClass_IsDerived(editor._class, class(EditBox)))
{
((EditBox)editor).readOnly = readOnly;
- ((EditBox)editor).autoSize = autoSize;
+ if(autoSize)
+ ((EditBox)editor).autoSize = autoSize;
((EditBox)editor).clickThrough = true;
}
else if(eClass_IsDerived(editor._class, class(Button)) && autoSize)