-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Visual improvements to LinkedFilesEditor (#9114)
* Visual improvements to LinkedFilesEditor * CHANGELOG.md * Moved and changed icons for better readability * Updated CHANGELOG.md
- Loading branch information
Showing
8 changed files
with
106 additions
and
59 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
50 changes: 30 additions & 20 deletions
50
src/main/java/org/jabref/gui/linkedfile/LinkedFileEditDialog.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,42 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.geometry.Insets?> | ||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.ComboBox?> | ||
<?import javafx.scene.control.DialogPane?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.control.TextField?> | ||
<?import javafx.scene.control.Tooltip?> | ||
<?import javafx.scene.layout.ColumnConstraints?> | ||
<?import javafx.scene.layout.GridPane?> | ||
<?import javafx.scene.layout.RowConstraints?> | ||
<DialogPane minHeight="-Infinity" prefHeight="150.0" prefWidth="536.0" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.linkedfile.LinkedFileEditDialogView"> | ||
<?import org.jabref.gui.icon.JabRefIconView?> | ||
<DialogPane minHeight="140.0" minWidth="550.0" | ||
xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" | ||
fx:controller="org.jabref.gui.linkedfile.LinkedFileEditDialogView"> | ||
<content> | ||
<GridPane> | ||
<GridPane vgap="4" hgap="4"> | ||
<columnConstraints> | ||
<ColumnConstraints hgrow="NEVER" minWidth="10.0" prefWidth="100.0"/> | ||
<ColumnConstraints hgrow="ALWAYS" minWidth="10.0" prefWidth="200.0"/> | ||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="108.0"/> | ||
<ColumnConstraints hgrow="ALWAYS" minWidth="10.0"/> | ||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0"/> | ||
</columnConstraints> | ||
<rowConstraints> | ||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/> | ||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/> | ||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/> | ||
<RowConstraints/> | ||
<RowConstraints/> | ||
<RowConstraints/> | ||
</rowConstraints> | ||
<Label minWidth="95.0" text="%Link"/> | ||
<TextField fx:id="link" minHeight="-Infinity" minWidth="-Infinity" prefHeight="25.0" prefWidth="150.0" | ||
|
||
<Label text="%Link"/> | ||
<TextField fx:id="link" prefHeight="25.0" | ||
GridPane.columnIndex="1" GridPane.hgrow="ALWAYS"/> | ||
<Label text="Description" GridPane.rowIndex="1"/> | ||
<TextField fx:id="description" minHeight="-Infinity" minWidth="-Infinity" prefHeight="25.0" | ||
prefWidth="150.0" GridPane.columnIndex="1" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1"/> | ||
<ComboBox fx:id="fileType" minHeight="-Infinity" prefWidth="150.0" GridPane.columnIndex="1" | ||
GridPane.columnSpan="2" GridPane.hgrow="ALWAYS" GridPane.rowIndex="2"/> | ||
<Button id="browse" mnemonicParsing="false" onAction="#openBrowseDialog" text="%Browse" | ||
GridPane.columnIndex="2"> | ||
<GridPane.margin> | ||
<Insets left="10.0"/> | ||
</GridPane.margin> | ||
<Button id="browse" onAction="#openBrowseDialog" | ||
styleClass="icon-button,narrow" | ||
prefHeight="20.0" prefWidth="20.0" GridPane.columnIndex="2"> | ||
<graphic> | ||
<JabRefIconView glyph="OPEN"/> | ||
</graphic> | ||
<tooltip> | ||
<Tooltip text="%Browse"/> | ||
</tooltip> | ||
</Button> | ||
|
||
<Label text="Description" GridPane.rowIndex="1"/> | ||
<TextField fx:id="description" prefHeight="25.0" | ||
GridPane.columnIndex="1" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1"/> | ||
|
||
<Label text="Filetype" GridPane.rowIndex="2"/> | ||
<ComboBox fx:id="fileType" | ||
GridPane.columnIndex="1" GridPane.hgrow="ALWAYS" GridPane.rowIndex="2"/> | ||
</GridPane> | ||
</content> | ||
</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