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).

1  
please include function showFormTitled. // constants
2  
3  
static L<JComponent> showForm_arrange1(LL<JComponent> l) {
4  
  int minW = showForm_leftWidth(l);
5  
6  
  new L<JComponent> out;
7  
  for (L<JComponent> row : l)
8  
    out.add(westAndCenter(withRightMargin(showForm_gapBetweenColumns, jMinWidthAtLeast(minW, first(row))), second(row)));
9  
  ret out;
10  
}

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: 512 / 603
Version history: 3 change(s)
Referenced in: [show references]