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

10
LINES

< > BotCompany Repo | #1014717 // showForm_arrange1 - arranges parts horizontally

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (8596L/55K).

please include function showFormTitled. // constants

static L<JComponent> showForm_arrange1(LL<JComponent> l) {
  int minW = showForm_leftWidth(l);

  new L<JComponent> out;
  for (L<JComponent> row : l)
    out.add(westAndCenter(withRightMargin(showForm_gapBetweenColumns, jMinWidthAtLeast(minW, first(row))), second(row)));
  ret out;
}

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: #1014717
Snippet name: showForm_arrange1 - arranges parts horizontally
Eternal ID of this version: #1014717/4
Text MD5: f42aaa9d68f75d42f4ba874454d80586
Transpilation MD5: 00b0421ce83f03d00f8c3c062baeb8c3
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-28 19:27:49
Source code size: 348 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 510 / 599
Version history: 3 change(s)
Referenced in: [show references]