Skip to content

Commit

Permalink
Merge pull request #229 from KrashKart/branch-taller-resultdisplay
Browse files Browse the repository at this point in the history
Make ResultDisplay taller
  • Loading branch information
yooplo authored Nov 5, 2024
2 parents 49ca26f + 6335216 commit ecb0410
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package seedu.address.logic.commands;

import static java.util.Objects.requireNonNull;
import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL;
import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME;
import static seedu.address.logic.parser.CliSyntax.PREFIX_PHONE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG;
Expand All @@ -23,8 +22,7 @@ public class SuperFindCommand extends Command {
+ "them as a list with indices.\n"
+ "Parameters: PREFIX/KEYWORD [PREFIX/MORE_KEYWORDS]...\n"
+ "Examples:\n"
+ COMMAND_WORD + " " + PREFIX_NAME + "alice " + PREFIX_PHONE + "80021234 " + PREFIX_TAG + "CS1101S\n"
+ COMMAND_WORD + " " + PREFIX_EMAIL + "[email protected] " + PREFIX_EMAIL + "[email protected]";
+ COMMAND_WORD + " " + PREFIX_NAME + "alice " + PREFIX_PHONE + "80021234 " + PREFIX_TAG + "CS1101S";

public static final String MESSAGE_NO_PERSONS_FOUND = "No persons found!";

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/view/MainWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<?import javafx.scene.control.ScrollPane?>
<fx:root type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1"
title="CampusConnect" minWidth="450" minHeight="600" onCloseRequest="#handleExit">
title="CampusConnect" minWidth="640" minHeight="480" onCloseRequest="#handleExit">
<icons>
<Image url="@/images/nus_logo.png" />
</icons>
Expand Down Expand Up @@ -42,7 +42,7 @@
</StackPane>

<StackPane VBox.vgrow="NEVER" fx:id="resultDisplayPlaceholder" styleClass="pane-with-border"
minHeight="100" prefHeight="100" maxHeight="100">
minHeight="115" prefHeight="115" maxHeight="115">
<padding>
<Insets top="5" right="10" bottom="5" left="10" />
</padding>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/view/ResultDisplay.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

<StackPane fx:id="placeHolder" styleClass="pane-with-border" xmlns="http://javafx.com/javafx/17"
xmlns:fx="http://javafx.com/fxml/1">
<TextArea fx:id="resultDisplay" editable="false" styleClass="result-display" prefHeight="200"/>
<TextArea fx:id="resultDisplay" editable="false" styleClass="result-display" prefHeight="115"/>
</StackPane>
2 changes: 1 addition & 1 deletion src/main/resources/view/TagListPanel.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<?import javafx.scene.layout.VBox?>

<VBox xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
<ListView fx:id="tagListView" VBox.vgrow="ALWAYS" styleClass="tag-list-panel" />
<ListView fx:id="tagListView" VBox.vgrow="ALWAYS" styleClass="tag-list-panel"/>
</VBox>

0 comments on commit ecb0410

Please sign in to comment.