mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
위젯의 매우 작은 높이로 설정되었을때 이를 보정하는 코드 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5148 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a981918f1e
commit
6b755609f5
1 changed files with 3 additions and 1 deletions
|
|
@ -270,7 +270,9 @@ function doFitBorderSize() {
|
||||||
var obj_list = xGetElementsByClassName('widgetBorder', zonePageObj);
|
var obj_list = xGetElementsByClassName('widgetBorder', zonePageObj);
|
||||||
for(var i=0;i<obj_list.length;i++) {
|
for(var i=0;i<obj_list.length;i++) {
|
||||||
var obj = obj_list[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 = '';
|
obj.parentNode.style.clear = '';
|
||||||
}
|
}
|
||||||
var obj_list = xGetElementsByClassName('widgetBoxBorder', zonePageObj);
|
var obj_list = xGetElementsByClassName('widgetBoxBorder', zonePageObj);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue