위젯의 매우 작은 높이로 설정되었을때 이를 보정하는 코드 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5148 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-12-22 04:42:59 +00:00
parent a981918f1e
commit 6b755609f5

View file

@ -270,7 +270,9 @@ function doFitBorderSize() {
var obj_list = xGetElementsByClassName('widgetBorder', zonePageObj);
for(var i=0;i<obj_list.length;i++) {
var obj = obj_list[i];
xHeight(obj, xHeight(obj.parentNode));
var height = xHeight(obj.parentNode);
if(height<3) height = 20;
xHeight(obj, height);
obj.parentNode.style.clear = '';
}
var obj_list = xGetElementsByClassName('widgetBoxBorder', zonePageObj);