MCPcopy Create free account
hub / github.com/controlsjs/controls.js / ng_SetClientHeight

Function ng_SetClientHeight

src/ng_basic/basic.js:2018–2022  ·  view source on GitHub ↗

* Function: ng_SetClientHeight * Sets element client height. * * Syntax: * void *ng_SetClientHeight* (object elm, int v) * * Parameters: * elm - object element * v - height in pixels * * Returns: * -

(o,v)

Source from the content-addressed store, hash-verified

2016 * -
2017 */
2018function ng_SetClientHeight(o,v)
2019{
2020 v-=ng_GetCurrentStylePx(o,'padding-top') + ng_GetCurrentStylePx(o,'padding-bottom');
2021 ng_SetStyleHeight(o,v);
2022}
2023
2024/**
2025 * Function: ng_setLeftTop

Callers 14

wedlgbx_CalcAutoSizeFunction · 0.85
ngdp_DoUpdateFunction · 0.85
ngi_DoUpdateFunction · 0.85
ngimgmap_DoUpdateFunction · 0.85
ngb_DoUpdateFunction · 0.85
nge_BeginMobileKeyboardFunction · 0.85
nge_DoUpdateFunction · 0.85
ngtb_UpdateFunction · 0.85
npb_DoUpdateFunction · 0.85
ngwb_DoUpdateFunction · 0.85
ngcal_DoUpdateFunction · 0.85
ngw_CalcAutoSizeFunction · 0.85

Calls 2

ng_GetCurrentStylePxFunction · 0.85
ng_SetStyleHeightFunction · 0.85

Tested by

no test coverage detected