mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-02-20 05:29:09 +00:00
Moved image editor fxml and fixed case issue that broke in many OSes (but worked in Mac, strangely enough). Also un-smushed image form fields
This commit is contained in:
parent
ef905a7457
commit
e7aa88ab65
@ -214,7 +214,7 @@ public class UIAction {
|
||||
}
|
||||
|
||||
public static ImageConversionWizardController openImageConversionModal(Image image, ImageDitherEngine ditherEngine, int targetWidth, int targetHeight, ImageConversionPostAction postAction) {
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(UIAction.class.getResource("/fxml/ImageConversionWizard.fxml"));
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(UIAction.class.getResource("/imageConversionWizard.fxml"));
|
||||
try {
|
||||
Stage primaryStage = new Stage();
|
||||
AnchorPane node = (AnchorPane) fxmlLoader.load();
|
||||
|
@ -42,12 +42,12 @@
|
||||
<children>
|
||||
<Label layoutX="4.0" layoutY="14.0" text="Name" />
|
||||
<TextField id="" fx:id="imageNameField" layoutX="53.0" layoutY="11.0" prefWidth="147.0" />
|
||||
<Label layoutX="4.0" layoutY="36.0" text="Category" />
|
||||
<TextField id="tileCategoryField" fx:id="imageCategoryField" layoutX="74.0" layoutY="33.0" prefWidth="126.0" />
|
||||
<TextField fx:id="imageWidthField" layoutY="55.0" prefWidth="145.0" AnchorPane.leftAnchor="53.0" AnchorPane.rightAnchor="0.0" />
|
||||
<Label layoutX="4.0" layoutY="58.0" text="Width" />
|
||||
<TextField id="imageWidthField" fx:id="imageHeightField" layoutX="53.0" layoutY="77.0" prefWidth="147.0" />
|
||||
<Label layoutX="4.0" layoutY="83.0" text="Height" />
|
||||
<Label layoutX="4.0" layoutY="44.0" text="Category" />
|
||||
<TextField id="tileCategoryField" fx:id="imageCategoryField" layoutX="74.0" layoutY="41.0" prefWidth="126.0" />
|
||||
<TextField fx:id="imageWidthField" layoutX="53.0" layoutY="71.0" prefWidth="145.0" AnchorPane.leftAnchor="53.0" AnchorPane.rightAnchor="0.0" />
|
||||
<Label layoutX="4.0" layoutY="74.0" text="Width" />
|
||||
<TextField id="imageWidthField" fx:id="imageHeightField" layoutX="53.0" layoutY="101.0" prefWidth="147.0" />
|
||||
<Label layoutX="4.0" layoutY="107.0" text="Height" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane id="mapEditorAnchorPane" fx:id="imageEditorAnchorPane" prefHeight="389.0" prefWidth="477.0" HBox.hgrow="ALWAYS">
|
||||
|
Loading…
x
Reference in New Issue
Block a user