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

12
LINES

< > BotCompany Repo | #1014633 // gridBagConstraints_vstack_1

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

Libraryless. Click here for Pure Java version (42L/1K).

1  
static GridBagConstraints gridBagConstraints_vstack_1(int spacing) {
2  
  ret gridBagConstraints_vstack_1(spacing/2, spacing/2);
3  
}
4  
5  
static GridBagConstraints gridBagConstraints_vstack_1(int spacingTop, int spacingBottom) {
6  
  new GridBagConstraints gbc;
7  
  gbc.weightx = 1;
8  
  gbc.fill = GridBagConstraints.HORIZONTAL;
9  
  gbc.gridwidth = GridBagConstraints.REMAINDER;
10  
  gbc.insets = new Insets(spacingTop, 0, spacingBottom, 0);
11  
  ret gbc;
12  
}

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: #1014633
Snippet name: gridBagConstraints_vstack_1
Eternal ID of this version: #1014633/2
Text MD5: 2285495bb42476cfef209ce5ddff44a7
Transpilation MD5: 8c2d10a4b0455efb43c490ec4a455f39
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-26 16:40:01
Source code size: 444 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 292 / 356
Version history: 1 change(s)
Referenced in: [show references]