Browse Source

CHART-2216 空间 光照 dierta0.1 阻塞

master
zheng 7 years ago
parent
commit
08a74da8d5
  1. 6
      designer_base/src/com/fr/design/gui/frpane/UINumberDragPane.java

6
designer_base/src/com/fr/design/gui/frpane/UINumberDragPane.java

@ -30,8 +30,12 @@ public class UINumberDragPane extends BasicBeanPane<Double> implements GlobalNam
} }
public UINumberDragPane(double minValue, double maxValue) { public UINumberDragPane(double minValue, double maxValue) {
this(minValue, maxValue, 1);
}
public UINumberDragPane(double minValue, double maxValue, double dierta) {
dragBar = new NumberDragBar((int) minValue, (int) maxValue); dragBar = new NumberDragBar((int) minValue, (int) maxValue);
spinner = new UISpinner(minValue, maxValue, 1, minValue); spinner = new UISpinner(minValue, maxValue, dierta, minValue);
spinner.setGlobalName(Inter.getLocText("StyleAlignment-Text_Rotation")); spinner.setGlobalName(Inter.getLocText("StyleAlignment-Text_Rotation"));
this.setLayout(new BorderLayout(4, 0)); this.setLayout(new BorderLayout(4, 0));
this.add(spinner, BorderLayout.EAST); this.add(spinner, BorderLayout.EAST);

Loading…
Cancel
Save