Skip to content

Commit

Permalink
Noted PLY support in custom import path and added some padding to FXM…
Browse files Browse the repository at this point in the history
…L Page Scroller.
  • Loading branch information
denneyl2711 committed Jul 24, 2024
1 parent 2a24bdd commit 56e1634
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public void openChildPage(String childFXMLPath) {
public Pair<Double, Double> getSizePreferences(){
Region hostNode = getHostRegion();

return new Pair<>(hostNode.getPrefWidth(), hostNode.getPrefHeight());
//add a bit of padding
return new Pair<>(hostNode.getPrefWidth() * 1.02, hostNode.getPrefHeight() * 1.02);
}

public boolean isNextButtonValid(){return hostPage.hasNextPage();}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<Insets />
</GridPane.margin>
</Text>
<Text layoutX="76.0" layoutY="264.0" strokeType="OUTSIDE" strokeWidth="0.0" styleClass="text" text="Mesh&#10;(Wavefront OBJ file)" textAlignment="CENTER" wrappingWidth="236.0" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowIndex="2" GridPane.valignment="CENTER">
<Text layoutX="76.0" layoutY="264.0" strokeType="OUTSIDE" strokeWidth="0.0" styleClass="text" text="Mesh&#10;(Wavefront OBJ or PLY file)&#10;" textAlignment="CENTER" wrappingWidth="236.0" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowIndex="2" GridPane.valignment="CENTER">
<font>
<Font name="Monospaced Regular" size="14.0" />
</font>
Expand Down

0 comments on commit 56e1634

Please sign in to comment.