static void dm_setModuleWidth(O module, int w) { Rect r = dm_getBounds(module); if (r == null) r = dm_defaultBoundsFor(module); r.w = w; dm_setBounds(module, w); }
Began life as a copy of #1016706
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021077 |
Snippet name: | dm_setModuleWidth |
Eternal ID of this version: | #1021077/5 |
Text MD5: | 9a583baa7209a2c90bf06c2ca57158f1 |
Author: | stefan |
Category: | javax / dynamic modules |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-22 17:34:23 |
Source code size: | 176 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 288 / 323 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021079 - dm_defaultBoundsFor [rough] |