-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added MenuButtons to IntegrityCheckDialog (#5955)
- Loading branch information
Showing
4 changed files
with
103 additions
and
25 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
36 changes: 21 additions & 15 deletions
36
src/main/java/org/jabref/gui/integrity/IntegrityCheckDialog.fxml
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,26 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.ButtonType?> | ||
<?import javafx.scene.control.DialogPane?> | ||
<?import javafx.scene.control.ScrollPane?> | ||
<?import javafx.scene.control.MenuButton?> | ||
<?import javafx.scene.control.TableColumn?> | ||
<?import javafx.scene.control.TableView?> | ||
<?import javafx.scene.layout.AnchorPane?> | ||
<?import javafx.scene.layout.HBox?> | ||
<?import javafx.scene.layout.VBox?> | ||
|
||
<DialogPane xmlns:fx="http://javafx.com/fxml/1" prefHeight="600.0" prefWidth="700.0" | ||
xmlns="http://javafx.com/javafx/8.0.121" fx:controller="org.jabref.gui.integrity.IntegrityCheckDialog"> | ||
<content> | ||
<AnchorPane> | ||
<ScrollPane fitToHeight="true" fitToWidth="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" | ||
AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> | ||
<TableView fx:id="messagesTable"> | ||
<columns> | ||
<TableColumn fx:id="keyColumn" prefWidth="150.0" text="%BibTeX key"/> | ||
<TableColumn fx:id="fieldColumn" prefWidth="110.0" text="%Field"/> | ||
<TableColumn fx:id="messageColumn" prefWidth="400" text="%Message"/> | ||
</columns> | ||
</TableView> | ||
</ScrollPane> | ||
</AnchorPane> | ||
<VBox spacing="4.0"> | ||
<TableView fx:id="messagesTable" prefHeight="550" prefWidth="700.0" VBox.vgrow="ALWAYS"> | ||
<columns> | ||
<TableColumn fx:id="keyColumn" prefWidth="150.0" text="%BibTeX key" /> | ||
<TableColumn fx:id="fieldColumn" prefWidth="110.0" text="%Field" /> | ||
<TableColumn fx:id="messageColumn" prefWidth="400" text="%Message" /> | ||
</columns> | ||
</TableView> | ||
<HBox maxHeight="30" spacing="4.0"> | ||
<MenuButton fx:id="keyFilterButton" prefHeight="30.0" maxHeight="30.0" text="%BibTeX key filters" /> | ||
<MenuButton fx:id="fieldFilterButton" prefHeight="30.0" maxHeight="30.0" text="%Field filters" /> | ||
<MenuButton fx:id="messageFilterButton" prefHeight="30.0" maxHeight="30.0" text="%Message filters" /> | ||
<Button onAction="#clearFilters" text="%Clear filters" /> | ||
</HBox> | ||
</VBox> | ||
</content> | ||
<ButtonType fx:constant="CLOSE"/> | ||
<ButtonType fx:constant="CLOSE" /> | ||
</DialogPane> |
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