Commit ef45a04c authored by legoc's avatar legoc
Browse files

Window width of the Axes Properties

parent 0c3dbd3a
......@@ -1086,7 +1086,6 @@ public class EditorMenuBar extends MenuBar {
Scene displayScene = new Scene(scenePane);
Stage displayStage = new Stage(StageStyle.UTILITY);
displayStage.setWidth(750);
displayStage.setTitle(displayAxisItem.getText());
displayStage.setScene(displayScene);
displayStage.initOwner(Nomad3DEditor.getInstance().getStage());
......@@ -1115,13 +1114,13 @@ public class EditorMenuBar extends MenuBar {
currentValueColumn.setOnEditCommit(new EventHandler<CellEditEvent<AxisTableEntry, Double>>() {
@Override
public void handle(CellEditEvent<AxisTableEntry, Double> cellEvent) {
System.out.println("new value");
AxisTableEntry entry = cellEvent.getRowValue();
double value = cellEvent.getNewValue();
entry.setCurrentValue(value);
System.out.println("Moving axes...");
System.out.println("Moving axis...");
Nomad3DEditor.getInstance().getModel().moveAxes(entry.getAxisName(), value);
System.out.println("Moving axis... done");
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment