|
|
@@ -45,6 +45,9 @@ public class ElementPanel extends JScrollPane implements AutoGrowPanel.ChildComp
|
|
|
JPanel panelViewPort;
|
|
|
ScaleFactor scale;
|
|
|
|
|
|
+ /**
|
|
|
+ * @wbp.parser.constructor
|
|
|
+ */
|
|
|
public ElementPanel(final ScaleFactor scale) {
|
|
|
this.scale = scale;
|
|
|
setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
|
|
|
@@ -55,13 +58,14 @@ public class ElementPanel extends JScrollPane implements AutoGrowPanel.ChildComp
|
|
|
GridBagLayout gbl_panelColumnHeader = new GridBagLayout();
|
|
|
gbl_panelColumnHeader.columnWidths = new int[]{0, 0, 0, 0, 0};
|
|
|
gbl_panelColumnHeader.rowHeights = new int[]{0, 0};
|
|
|
- gbl_panelColumnHeader.columnWeights = new double[]{0.0, 0.0, 1.0, 0.0, Double.MIN_VALUE};
|
|
|
+ gbl_panelColumnHeader.columnWeights = new double[]{1.0, 0.0, 1.0, 1.0, Double.MIN_VALUE};
|
|
|
gbl_panelColumnHeader.rowWeights = new double[]{0.0, Double.MIN_VALUE};
|
|
|
panelColumnHeader.setLayout(gbl_panelColumnHeader);
|
|
|
|
|
|
txtName = new JTextField();
|
|
|
txtName.setColumns(10);
|
|
|
GridBagConstraints gbc_txtName = new GridBagConstraints();
|
|
|
+ gbc_txtName.fill = GridBagConstraints.HORIZONTAL;
|
|
|
gbc_txtName.insets = new Insets(0, 0, 0, 5);
|
|
|
gbc_txtName.gridx = 0;
|
|
|
gbc_txtName.gridy = 0;
|