[ 1855851 ] Propose New Look for Collapseable Field Group

- minor change and javadoc
This commit is contained in:
Heng Sin Low 2007-12-27 15:30:45 +00:00
parent 8f35710309
commit e810b5146c
1 changed files with 12 additions and 0 deletions

View File

@ -414,6 +414,10 @@ public final class VPanel extends CTabbedPane
return true;
} // addGroup
/**
* Set up the gridbaglayout for additonal field group tab
* @param m_tab
*/
private void setupTabPanelLayout(CPanel m_tab) {
m_tab.setLayout(new GridBagLayout());
@ -453,6 +457,14 @@ public final class VPanel extends CTabbedPane
label = new CLabel("");
fields.get(3).add(label);
m_tab.add(label, gbc);
//Right gap
gbc.gridx = 4; // 5th column
gbc.gridwidth = 1;
gbc.weightx = 1;
gbc.insets = m_zeroInset;
gbc.fill = GridBagConstraints.HORIZONTAL;
m_tab.add(Box.createHorizontalStrut(1), gbc);
}
/**