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

7
LINES

< > BotCompany Repo | #1019049 // dm_placeOnRight

JavaX fragment (include)

svoid dm_placeOnRight {
  Rectangle desktop = getBounds(dm_desktopPane());
  if (desktop != null) {
    int w = min(desktop.width/4, 300);
    dm_setBounds(dm_current(), desktop.width-w, 0, w, desktop.height);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019049
Snippet name: dm_placeOnRight
Eternal ID of this version: #1019049/1
Text MD5: 551c314ef0ecf371058c64203fd48bb3
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-21 18:16:43
Source code size: 221 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 272 / 322
Referenced in: [show references]