Skip to content

Commit

Permalink
Fix size issues
Browse files Browse the repository at this point in the history
  • Loading branch information
spencertan96 committed Oct 30, 2018
1 parent b5f8053 commit 742ec68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/view/MainWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.stage.Stage?>

<fx:root minHeight="600" minWidth="500" onCloseRequest="#handleExit" resizable="false" type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/10.0.2" xmlns:fx="http://javafx.com/fxml/1">
<fx:root minHeight="600" minWidth="740" onCloseRequest="#handleExit" resizable="false" type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/10.0.2" xmlns:fx="http://javafx.com/fxml/1">
<icons>
<Image url="@/images/address_book_32.png" />
</icons>
Expand Down Expand Up @@ -53,7 +53,7 @@
<StackPane fx:id="personListPanelPlaceholder" VBox.vgrow="ALWAYS" />
</VBox>

<StackPane fx:id="detailsPlaceholder" minHeight="-Infinity" minWidth="-Infinity" prefWidth="390.0">
<StackPane fx:id="detailsPlaceholder" minHeight="0.0" minWidth="0.0" prefWidth="390.0">
<padding>
<Insets bottom="10" left="10" right="10" top="10" />
</padding>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/view/MoreDetailsPanel.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>

<StackPane xmlns="http://javafx.com/javafx/10.0.2" xmlns:fx="http://javafx.com/fxml/1">
<StackPane xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1">
<children>
<SplitPane fx:id="detailsPanel" dividerPositions="0.5757575757575758" orientation="VERTICAL" prefHeight="200.0" prefWidth="160.0" stylesheets="@DarkTheme.css">
<items>
Expand All @@ -21,7 +21,7 @@
<VBox fillWidth="true" prefHeight="109.0" prefWidth="100.0">
<children>
<Label styleClass="label-bright" text="Notes:" />
<TextArea fx:id="notesText" editable="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="105.0" prefWidth="155.0" promptText="&lt;No note found&gt;">
<TextArea fx:id="notesText" editable="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="155.0" prefWidth="155.0" promptText="&lt;No note found&gt;">
<VBox.margin>
<Insets />
</VBox.margin></TextArea>
Expand Down

0 comments on commit 742ec68

Please sign in to comment.