forked from nus-cs2103-AY1617S1/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
101 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 29 additions & 35 deletions
64
src/main/resources/view/TaskListCard.fxml
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.geometry.Insets?> | ||
<?import javafx.scene.control.*?> | ||
<?import javafx.scene.layout.*?> | ||
<?import java.net.URL?> | ||
<HBox id="cardPane" fx:id="cardPane" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"> | ||
<?import javafx.geometry.Insets?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.layout.HBox?> | ||
<?import javafx.scene.layout.VBox?> | ||
|
||
<HBox id="cardPane" fx:id="cardPane" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1"> | ||
<children> | ||
<GridPane HBox.hgrow="ALWAYS" > | ||
<columnConstraints> | ||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="150.0" /> | ||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="100.0" minWidth="10.0" prefWidth="100.0" /> | ||
</columnConstraints> | ||
<children> | ||
<VBox alignment="CENTER_LEFT" maxHeight="250.0" minHeight="105.0" prefHeight="175.0" GridPane.columnIndex="0"> | ||
<stylesheets> | ||
<URL value="@DarkTheme.css" /> | ||
<URL value="@Extensions.css" /> | ||
</stylesheets> | ||
<padding> | ||
<Insets bottom="5" left="15" right="5" top="5" /> | ||
</padding> | ||
<VBox alignment="CENTER_LEFT"> | ||
<stylesheets> | ||
<URL value="@DarkTheme.css" /> | ||
<URL value="@Extensions.css" /> | ||
</stylesheets> | ||
<padding> | ||
<Insets bottom="5" left="15" right="5" top="5" /> | ||
</padding> | ||
|
||
<children> | ||
<HBox spacing="5" alignment="CENTER_LEFT"> | ||
<children> | ||
<HBox> | ||
<Label fx:id="id" styleClass="cell_big_label"></Label> | ||
<HBox> | ||
<Label fx:id="taskName" text="\$first" styleClass="cell_big_label"/> | ||
</HBox> | ||
</HBox> | ||
<!--<Label fx:id="tags" styleClass="cell_small_label" text="\$tags" /> --> | ||
</children> | ||
</HBox> | ||
<Label fx:id="details" styleClass="cell_small_label" text="\$phone" /> | ||
</children> | ||
</VBox> | ||
</children> | ||
</GridPane> | ||
<children> | ||
<HBox alignment="CENTER_LEFT" spacing="5"> | ||
<children> | ||
<HBox> | ||
<Label fx:id="id" styleClass="cell_big_label" /> | ||
<Label fx:id="taskName" styleClass="cell_big_label" text="\$first" /> | ||
</HBox> | ||
<!--<Label fx:id="tags" styleClass="cell_small_label" text="\$tags" /> --> | ||
</children> | ||
</HBox> | ||
<Label fx:id="startDate" alignment="CENTER_RIGHT" contentDisplay="RIGHT" styleClass="cell_small_label" text="\$phone" textAlignment="RIGHT" /> | ||
<Label fx:id="endDate" alignment="CENTER_RIGHT" contentDisplay="RIGHT" styleClass="cell_small_label" text="\$address" textAlignment="RIGHT" /> | ||
<Label fx:id="description" styleClass="cell_small_label" text="\$email" /> | ||
</children> | ||
</VBox> | ||
</children> | ||
</HBox> |