(widget, node, lineView, dims)
| 2321 | } |
| 2322 | |
| 2323 | function positionLineWidget(widget, node, lineView, dims) { |
| 2324 | if (widget.noHScroll) { |
| 2325 | (lineView.alignable || (lineView.alignable = [])).push(node); |
| 2326 | var width = dims.wrapperWidth; |
| 2327 | node.style.left = dims.fixedPos + "px"; |
| 2328 | if (!widget.coverGutter) { |
| 2329 | width -= dims.gutterTotalWidth; |
| 2330 | node.style.paddingLeft = dims.gutterTotalWidth + "px"; |
| 2331 | } |
| 2332 | node.style.width = width + "px"; |
| 2333 | } |
| 2334 | if (widget.coverGutter) { |
| 2335 | node.style.zIndex = 5; |
| 2336 | node.style.position = "relative"; |
| 2337 | if (!widget.noHScroll) { node.style.marginLeft = -dims.gutterTotalWidth + "px"; } |
| 2338 | } |
| 2339 | } |
| 2340 | |
| 2341 | function widgetHeight(widget) { |
| 2342 | if (widget.height != null) { return widget.height } |
no outgoing calls
no test coverage detected