Transpiled version (2927L) is out of date.
1 | static int showForm_leftWidth_safetyMargin = 10; |
2 | |
3 | static int showForm_leftWidth(LL<JComponent> l) {
|
4 | forEachLevel2(l, x -> vmBus_send updateLayoutNow(x)); |
5 | int minW = 0; |
6 | for (L<JComponent> row : l) |
7 | minW = max(minW, getMinimumSize(first(row)).width); |
8 | ret minW + or((Int) vmBus_query formSafetyMargin(), showForm_leftWidth_safetyMargin); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014714 |
| Snippet name: | showForm_leftWidth |
| Eternal ID of this version: | #1014714/7 |
| Text MD5: | 61e83fa647c48cc2a033ee2b1108ff49 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-03-31 13:37:48 |
| Source code size: | 355 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 670 / 804 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |