Skip to content

Commit

Permalink
Fix anchor bug in FormDesigner.codeBehind
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoe committed Jul 25, 2024
1 parent b47c4f3 commit 588377a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file modified src/backend/SCM_API.sdp
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ async function dgdProperties_OnUpdatingCell(sender, eventArgs)
}
UpdateSelectionFrame(selectedControl);
return;
case "Anchor":
// circumvent bug in starlims-all.js (which prevents unsetting of anchor)
selectedControl.m_dto.Anchor = selectedControl._FixAnchor(value);
return;
default:
selectedControl[sPropertyName] = value;
}
Expand Down Expand Up @@ -184,6 +188,8 @@ async function dgdProperties_OnUdCellEditorRequest(sender, eventArgs)
var sAnchors = await handleAnchorSelect(eventArgs["Value"], mousePos);

eventArgs.Set("Value", sAnchors);

dgdProperties_OnUpdatingCell(sender, eventArgs);
}
}
}
Expand Down

0 comments on commit 588377a

Please sign in to comment.