Revision 338 2.0/trunk/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.extension/src/main/java/org/gvsig/gvsig3d/app/gui/styling/PictureSymbolTab.java
PictureSymbolTab.java | ||
---|---|---|
70 | 70 |
setLayout(new BorderLayout(0, 0)); |
71 | 71 |
|
72 | 72 |
JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP); |
73 |
tabbedPane.setPreferredSize(new Dimension(480,220)); |
|
73 | 74 |
add(tabbedPane); |
74 | 75 |
|
75 | 76 |
panel = new JPanel(); |
76 | 77 |
tabbedPane.addTab("Properties", null, panel, null); |
77 | 78 |
GridBagLayout gbl_panel = new GridBagLayout(); |
78 |
gbl_panel.columnWidths = new int[] { 352, 84, 0 };
|
|
79 |
gbl_panel.rowHeights = new int[] { 100, 0 };
|
|
80 |
gbl_panel.columnWeights = new double[] { 0.0, 0.0, Double.MIN_VALUE };
|
|
81 |
gbl_panel.rowWeights = new double[] { 0.0, Double.MIN_VALUE };
|
|
79 |
gbl_panel.columnWidths = new int[] { 352, 84 }; |
|
80 |
gbl_panel.rowHeights = new int[] { 100 }; |
|
81 |
gbl_panel.columnWeights = new double[] { 0.0, 0.0 }; |
|
82 |
gbl_panel.rowWeights = new double[] { 0.0 }; |
|
82 | 83 |
panel.setLayout(gbl_panel); |
83 | 84 |
|
84 | 85 |
JPanel propertiesPanel = new JPanel(); |
85 | 86 |
propertiesPanel.setBorder(new TitledBorder(null, "Properties", |
86 | 87 |
TitledBorder.LEADING, TitledBorder.TOP, null, null)); |
87 | 88 |
GridBagConstraints gbc_propertiesPanel = new GridBagConstraints(); |
89 |
gbc_propertiesPanel.fill = GridBagConstraints.HORIZONTAL; |
|
88 | 90 |
gbc_propertiesPanel.anchor = GridBagConstraints.NORTHWEST; |
89 | 91 |
gbc_propertiesPanel.insets = new Insets(0, 0, 0, 5); |
90 | 92 |
gbc_propertiesPanel.gridx = 0; |
91 | 93 |
gbc_propertiesPanel.gridy = 0; |
92 | 94 |
panel.add(propertiesPanel, gbc_propertiesPanel); |
93 |
propertiesPanel.setLayout(new GridLayout(0, 3, 15, 0));
|
|
95 |
propertiesPanel.setLayout(new GridLayout(0, 3, 10, 10));
|
|
94 | 96 |
|
95 | 97 |
JLabel lblNewLabel_1 = new JLabel("Path:"); |
96 | 98 |
propertiesPanel.add(lblNewLabel_1); |
Also available in: Unified diff