Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1021077 // dm_setModuleWidth

JavaX fragment (include)

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);
}

Author comment

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: 287 / 321
Version history: 4 change(s)
Referenced in: [show references]