|
|
|
@ -162,8 +162,10 @@ public class VanChartTimeAxisPane extends VanChartBaseAxisPane {
|
|
|
|
|
|
|
|
|
|
JPanel mainTickPane = new JPanel(); |
|
|
|
|
mainTickPane.setLayout(new FlowLayout(FlowLayout.LEFT, 0, 0)); |
|
|
|
|
mainUnitField.setPreferredSize(new Dimension(80,20)); |
|
|
|
|
secondUnitField.setPreferredSize(new Dimension(80,20)); |
|
|
|
|
|
|
|
|
|
int width = TableLayout4VanChartHelper.SECOND_EDIT_AREA_WIDTH - (int) Math.ceil(mainType.getPreferredSize().getWidth()); |
|
|
|
|
mainUnitField.setPreferredSize(new Dimension(width,20)); |
|
|
|
|
secondUnitField.setPreferredSize(new Dimension(width,20)); |
|
|
|
|
mainTickPane.add(mainUnitField); |
|
|
|
|
mainTickPane.add(mainType); |
|
|
|
|
|
|
|
|
|