1 | svoid dm_placeOnRight {
|
2 | Rectangle desktop = getBounds(dm_desktopPane()); |
3 | if (desktop != null) {
|
4 | int w = min(desktop.width/4, 300); |
5 | dm_setBounds(dm_current(), desktop.width-w, 0, w, desktop.height); |
6 | } |
7 | } |
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: | 647 / 690 |
| Referenced in: | [show references] |