Revision 3039 trunk/extensions/extGeoreferencing/src/com/iver/cit/gvsig/gui/Panels/DataPointPanel.java
DataPointPanel.java | ||
---|---|---|
72 | 72 |
|
73 | 73 |
this.setLayout(new GridBagLayout()); |
74 | 74 |
this.setBorder(javax.swing.BorderFactory.createTitledBorder(null, PluginServices.getText(this, "punto"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null)); |
75 |
this.setPreferredSize(new java.awt.Dimension(200,160));
|
|
75 |
this.setPreferredSize(new java.awt.Dimension(200,113));
|
|
76 | 76 |
this.add(getPX(), gridBagConstraints3); |
77 | 77 |
this.add(getPY(), gridBagConstraints4); |
78 | 78 |
this.add(getPLatitud(), gridBagConstraints5); |
... | ... | |
92 | 92 |
flowLayout2.setAlignment(java.awt.FlowLayout.RIGHT); |
93 | 93 |
pX = new JPanel(); |
94 | 94 |
pX.setLayout(flowLayout2); |
95 |
pX.setPreferredSize(new java.awt.Dimension(185,24));
|
|
95 |
pX.setPreferredSize(new java.awt.Dimension(185,22));
|
|
96 | 96 |
flowLayout2.setVgap(1); |
97 |
flowLayout2.setHgap(0); |
|
97 | 98 |
pX.add(lX, null); |
98 | 99 |
pX.add(getTX(), null); |
99 | 100 |
} |
... | ... | |
113 | 114 |
flowLayout1.setAlignment(java.awt.FlowLayout.RIGHT); |
114 | 115 |
pY = new JPanel(); |
115 | 116 |
pY.setLayout(flowLayout1); |
116 |
pY.setPreferredSize(new java.awt.Dimension(185,29)); |
|
117 |
pY.setPreferredSize(new java.awt.Dimension(185,22)); |
|
118 |
flowLayout1.setHgap(0); |
|
119 |
flowLayout1.setVgap(1); |
|
117 | 120 |
pY.add(lY, null); |
118 | 121 |
pY.add(getTY(), null); |
119 | 122 |
} |
... | ... | |
133 | 136 |
flowLayout3.setAlignment(java.awt.FlowLayout.RIGHT); |
134 | 137 |
pLatitud = new JPanel(); |
135 | 138 |
pLatitud.setLayout(flowLayout3); |
136 |
pLatitud.setPreferredSize(new java.awt.Dimension(185,29)); |
|
139 |
pLatitud.setPreferredSize(new java.awt.Dimension(185,22)); |
|
140 |
flowLayout3.setHgap(0); |
|
141 |
flowLayout3.setVgap(1); |
|
137 | 142 |
pLatitud.add(lLongitud, null); |
138 | 143 |
pLatitud.add(getLongitud(), null); |
139 | 144 |
} |
... | ... | |
153 | 158 |
flowLayout4.setAlignment(java.awt.FlowLayout.RIGHT); |
154 | 159 |
pLongitud = new JPanel(); |
155 | 160 |
pLongitud.setLayout(flowLayout4); |
156 |
pLongitud.setPreferredSize(new java.awt.Dimension(185,29)); |
|
161 |
pLongitud.setPreferredSize(new java.awt.Dimension(185,22)); |
|
162 |
flowLayout4.setHgap(0); |
|
163 |
flowLayout4.setVgap(1); |
|
157 | 164 |
pLongitud.add(lLatitud, null); |
158 | 165 |
pLongitud.add(getLatitud(), null); |
159 | 166 |
} |
... | ... | |
171 | 178 |
if (tX == null) { |
172 | 179 |
tX = new JTextField(); |
173 | 180 |
tX.setPreferredSize(new java.awt.Dimension(90,19)); |
181 |
tX.setHorizontalAlignment(javax.swing.JTextField.LEADING); |
|
174 | 182 |
} |
175 | 183 |
return tX; |
176 | 184 |
} |
Also available in: Unified diff