diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2016-01-11 16:07:57 +0100 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2016-01-11 16:07:57 +0100 |
| commit | 48c08e5df63e42eccef488a821d60348f5f15a75 (patch) | |
| tree | bcd681eaaf0968eb6658f88515c49818d952edb2 /src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml | |
| parent | 1bd7e79dbce7d25d005a0b2e8eec7293340e0d42 (diff) | |
| download | Projektthemenvergabe-48c08e5df63e42eccef488a821d60348f5f15a75.tar.gz Projektthemenvergabe-48c08e5df63e42eccef488a821d60348f5f15a75.zip | |
Update layout to make it more responsive
Diffstat (limited to 'src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml')
| -rw-r--r-- | src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml | 105 |
1 files changed, 50 insertions, 55 deletions
diff --git a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml index ab39196..33bf5de 100644 --- a/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml +++ b/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml @@ -7,61 +7,7 @@ <?import javafx.scene.layout.*?> <?import javafx.scene.control.Label?> -<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="543.0" prefWidth="1089.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.fhswf.in.inf.se.projektthemenvergabe.view.ProjektthemenverwaltungsController"> - <center> - <VBox prefHeight="541.0" prefWidth="1089.0" BorderPane.alignment="CENTER"> - <children> - <TableView fx:id="projektTableView" editable="true" prefHeight="506.0" prefWidth="1089.0"> - <columns> - <TableColumn fx:id="projektThemaTableColumn" prefWidth="244.0" text="Projektthema" /> - <TableColumn fx:id="ansprechpatnerTableColumn" prefWidth="118.0" text="Ansprechpartner" /> - <TableColumn prefWidth="570.0" text="Student"> - <columns> - <TableColumn fx:id="student1TableColumn" prefWidth="75.0" text="1" /> - <TableColumn fx:id="student2TableColumn" prefWidth="75.0" text="2" /> - <TableColumn fx:id="student3TableColumn" prefWidth="75.0" text="3" /> - </columns> - </TableColumn> - <TableColumn fx:id="statusTableColumn" prefWidth="237.0" text="Status" /> - </columns> - <columnResizePolicy> - <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> - </columnResizePolicy> - <VBox.margin> - <Insets top="2.0" /> - </VBox.margin> - <placeholder> - <Label text="Keine Projekte angelegt." /> - </placeholder> - </TableView> - <HBox prefHeight="67.0" prefWidth="615.0"> - <children> - <Button maxWidth="100.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleAddProjekt" text="Anlegen"> - <HBox.margin> - <Insets right="5.0" /> - </HBox.margin> - </Button> - <Button fx:id="editProjektButton" disable="true" maxWidth="200.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleEditProjekt" text="Bearbeiten"> - <HBox.margin> - <Insets right="5.0" /> - </HBox.margin> - </Button> - <Button fx:id="deleteProjektButton" disable="true" minWidth="100.0" mnemonicParsing="false" onAction="#handleDeleteProjekt" text="Löschen" /> - <Separator prefHeight="0.0" prefWidth="373.0" visible="false" /> - <Button maxWidth="225.0" minWidth="200.0" mnemonicParsing="false" onAction="#handleStudentenverwaltung" text="Studentenverwaltung"> - <HBox.margin> - <Insets right="5.0" /> - </HBox.margin> - </Button> - <Button minWidth="200.0" mnemonicParsing="false" onAction="#handleAnsprechpartnerverwaltungs" prefHeight="26.0" prefWidth="225.0" text="Ansprechpartnerverwaltung" /> - </children> - <VBox.margin> - <Insets top="10.0" /> - </VBox.margin> - </HBox> - </children> - </VBox> - </center> +<BorderPane prefHeight="543.0" prefWidth="1089.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.fhswf.in.inf.se.projektthemenvergabe.view.ProjektthemenverwaltungsController"> <top> <MenuBar prefHeight="35.0" prefWidth="1089.0" BorderPane.alignment="CENTER"> <menus> @@ -95,4 +41,53 @@ </menus> </MenuBar> </top> + <bottom> + <HBox BorderPane.alignment="CENTER"> + <children> + <Button maxWidth="100.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleAddProjekt" text="Anlegen"> + <HBox.margin> + <Insets right="5.0" /> + </HBox.margin> + </Button> + <Button fx:id="editProjektButton" disable="true" maxWidth="200.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleEditProjekt" text="Bearbeiten"> + <HBox.margin> + <Insets right="5.0" /> + </HBox.margin> + </Button> + <Button fx:id="deleteProjektButton" disable="true" minWidth="100.0" mnemonicParsing="false" onAction="#handleDeleteProjekt" text="Löschen" /> + <Separator prefHeight="0.0" prefWidth="373.0" visible="false" HBox.hgrow="ALWAYS" /> + <Button maxWidth="225.0" minWidth="200.0" mnemonicParsing="false" onAction="#handleStudentenverwaltung" text="Studentenverwaltung"> + <HBox.margin> + <Insets right="5.0" /> + </HBox.margin> + </Button> + <Button minWidth="200.0" mnemonicParsing="false" onAction="#handleAnsprechpartnerverwaltungs" prefHeight="26.0" prefWidth="225.0" text="Ansprechpartnerverwaltung" /> + </children> + <BorderPane.margin> + <Insets top="5.0" /> + </BorderPane.margin> + </HBox> + </bottom> + <center> + <TableView fx:id="projektTableView" editable="true" prefHeight="506.0" prefWidth="1089.0" BorderPane.alignment="CENTER"> + <columns> + <TableColumn fx:id="projektThemaTableColumn" prefWidth="244.0" text="Projektthema" /> + <TableColumn fx:id="ansprechpatnerTableColumn" prefWidth="118.0" text="Ansprechpartner" /> + <TableColumn prefWidth="570.0" text="Student"> + <columns> + <TableColumn fx:id="student1TableColumn" prefWidth="75.0" text="1" /> + <TableColumn fx:id="student2TableColumn" prefWidth="75.0" text="2" /> + <TableColumn fx:id="student3TableColumn" prefWidth="75.0" text="3" /> + </columns> + </TableColumn> + <TableColumn fx:id="statusTableColumn" prefWidth="237.0" text="Status" /> + </columns> + <columnResizePolicy> + <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> + </columnResizePolicy> + <placeholder> + <Label text="Keine Projekte angelegt." /> + </placeholder> + </TableView> + </center> </BorderPane> |
