mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
위젯관리시 margin의 경우는 언제든 적용되도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2081 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c02e4a7523
commit
74563e253c
4 changed files with 33 additions and 22 deletions
|
|
@ -133,10 +133,13 @@ function doFillWidgetVars() {
|
|||
|
||||
}
|
||||
|
||||
var marginLeft = parseInt(selected_node.style.marginLeft.replace(/px$/,''),10);
|
||||
var marginRight = parseInt(selected_node.style.marginRight.replace(/px$/,''),10);
|
||||
var border = parseInt(selected_node.style.border);
|
||||
|
||||
var marginLeft = 0;
|
||||
if(selected_node.style.marginLeft) marginLeft = parseInt(selected_node.style.marginLeft.replace(/px$/,''),10);
|
||||
var marginRight = 0;
|
||||
if(selected_node.style.marginRight) marginRight = parseInt(selected_node.style.marginRight.replace(/px$/,''),10);
|
||||
var border = 0;
|
||||
if(selected_node.style.border) border= parseInt(selected_node.style.boarder.replace(/px$/,''),10);
|
||||
|
||||
fo_obj.widget_width.value = xWidth(selected_node) + marginLeft + marginRight - 6;
|
||||
|
||||
// 컬러셋 설정
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue