Skip to content

Commit 7bfe904

Browse files
committed
Resize height of the main window
1 parent c79727a commit 7bfe904

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

jar/Image Resizer.jar

-21 Bytes
Binary file not shown.
Binary file not shown.

src/com/marwaeltayeb/fir/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class Main extends Application {
1313
public void start(Stage primaryStage) throws Exception{
1414
Parent root = FXMLLoader.load(getClass().getResource("ui/main.fxml"));
1515
primaryStage.setTitle("Fast Image Resizer");
16-
primaryStage.setScene(new Scene(root, 650, 400));
16+
primaryStage.setScene(new Scene(root, 650, 385));
1717
primaryStage.getIcons().add(new Image("/com/marwaeltayeb/fir/assets/logo.png"));
1818
primaryStage.getScene().getStylesheets().add(getClass().getResource("stylesheet/application.css").toExternalForm());
1919
primaryStage.setResizable(false);

src/com/marwaeltayeb/fir/ui/main.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<?import javafx.scene.layout.*?>
66

77
<?import org.controlsfx.control.CheckComboBox?>
8-
<AnchorPane fx:id="anchorId" prefHeight="400.0" prefWidth="650.0" xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.marwaeltayeb.fir.controller.MainController">
8+
<AnchorPane fx:id="anchorId" prefHeight="385.0" prefWidth="650.0" xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.marwaeltayeb.fir.controller.MainController">
99
<children>
1010
<Button fx:id="btnBrowse" layoutX="27.0" layoutY="23.0" mnemonicParsing="false" onAction="#browse" text="Browse" />
1111
<Label fx:id="lblOutputPath" layoutX="91.0" layoutY="23.0" prefHeight="27.0" prefWidth="260.0" text="Output Directory Path" />

0 commit comments

Comments
 (0)