|
|
@ -378,8 +378,8 @@ public class ReportletHyperNorthPane extends AbstractHyperNorthPane<ReportletHyp |
|
|
|
UISpinner widthTextFiled = new UISpinner(0, Integer.MAX_VALUE, 1, DEFAULT_V_VALUE); |
|
|
|
UISpinner widthTextFiled = new UISpinner(0, Integer.MAX_VALUE, 1, DEFAULT_V_VALUE); |
|
|
|
this.setWidthTextFiled(widthTextFiled); |
|
|
|
this.setWidthTextFiled(widthTextFiled); |
|
|
|
sizePane.add(column(8, |
|
|
|
sizePane.add(column(8, |
|
|
|
row(10, cell(heightLabel).weight(0.2), cell(heightTextFiled).weight(0.8)), |
|
|
|
row(10, cell(heightLabel).weight(0.15), cell(heightTextFiled).weight(0.85)), |
|
|
|
row(10, cell(widthLabel).weight(0.2), cell(widthTextFiled).weight(0.8)) |
|
|
|
row(10, cell(widthLabel).weight(0.15), cell(widthTextFiled).weight(0.85)) |
|
|
|
).getComponent()); |
|
|
|
).getComponent()); |
|
|
|
sizePane.setVisible(true); |
|
|
|
sizePane.setVisible(true); |
|
|
|
dialogComponents.add(new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Dialog_Size")), sizePane}); |
|
|
|
dialogComponents.add(new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Dialog_Size")), sizePane}); |
|
|
@ -406,13 +406,11 @@ public class ReportletHyperNorthPane extends AbstractHyperNorthPane<ReportletHyp |
|
|
|
leftLabel.setBorder(BorderFactory.createEmptyBorder(0, 15, 0, 10)); |
|
|
|
leftLabel.setBorder(BorderFactory.createEmptyBorder(0, 15, 0, 10)); |
|
|
|
leftLocation = new UINumberField(); |
|
|
|
leftLocation = new UINumberField(); |
|
|
|
leftLocation.setMinValue(0); |
|
|
|
leftLocation.setMinValue(0); |
|
|
|
leftLocation.setPreferredSize(new Dimension(60, 20)); |
|
|
|
|
|
|
|
// 位置 距上
|
|
|
|
// 位置 距上
|
|
|
|
final UILabel topLabel = new UILabel(Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Dialog_Position_Top")); |
|
|
|
final UILabel topLabel = new UILabel(Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Dialog_Position_Top")); |
|
|
|
topLabel.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 10)); |
|
|
|
topLabel.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 10)); |
|
|
|
topLocation = new UINumberField(); |
|
|
|
topLocation = new UINumberField(); |
|
|
|
topLocation.setMinValue(0); |
|
|
|
topLocation.setMinValue(0); |
|
|
|
topLocation.setPreferredSize(new Dimension(60, 20)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
locationPanel.add(leftLabel); |
|
|
|
locationPanel.add(leftLabel); |
|
|
|
locationPanel.add(leftLocation); |
|
|
|
locationPanel.add(leftLocation); |
|
|
|