-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fix: Inconsistencies in the add button #13786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4ad372c
fix: Inconsistencies in the add button
Yubo-Cao 01eb895
docs: Update CHANGELOG.md
Yubo-Cao 5286ebc
Merge branch 'main' into fix/add-buttons
Yubo-Cao d2cea1b
docs: Update CHANGELOG.md
Yubo-Cao 8b96e6b
fix: A typo
Yubo-Cao b281e47
Merge branch 'main' into fix/add-buttons
Yubo-Cao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -9,42 +9,38 @@ | |
| <?import javafx.scene.layout.VBox?> | ||
| <?import org.jabref.gui.icon.JabRefIconView?> | ||
| <fx:root spacing="10.0" type="VBox" | ||
| xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" | ||
| xmlns="http://javafx.com/ja\vafx" xmlns:fx="http://javafx.com/fxml" | ||
|
||
| fx:controller="org.jabref.gui.libraryproperties.constants.ConstantsPropertiesView"> | ||
| <Label styleClass="sectionHeader" text="%String constants"/> | ||
| <HBox spacing="4.0" VBox.vgrow="ALWAYS"> | ||
| <VBox spacing="4.0" HBox.hgrow="ALWAYS"> | ||
| <TableView fx:id="stringsList" VBox.vgrow="ALWAYS"> | ||
| <columns> | ||
| <TableColumn fx:id="labelColumn" minWidth="75.0" text="%Label"/> | ||
| <TableColumn fx:id="contentColumn" minWidth="75.0" text="%Content"/> | ||
| <TableColumn fx:id="actionsColumn" maxWidth="30.0" minWidth="30.0" prefWidth="30.0" | ||
| editable="false" resizable="false" reorderable="false"/> | ||
| </columns> | ||
| <columnResizePolicy> | ||
| <TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/> | ||
| </columnResizePolicy> | ||
| </TableView> | ||
| </VBox> | ||
| <VBox> | ||
| <Button styleClass="icon-button,narrow" onAction="#openHelp"> | ||
| <graphic> | ||
| <JabRefIconView glyph="HELP"/> | ||
| </graphic> | ||
| <tooltip> | ||
| <Tooltip text="%Open Help page"/> | ||
| </tooltip> | ||
| </Button> | ||
| <VBox VBox.vgrow="ALWAYS"/> | ||
| <Button styleClass="icon-button,narrow" fx:id="addStringButton" minWidth="-Infinity" | ||
| onAction="#addString"> | ||
| <graphic> | ||
| <JabRefIconView glyph="ADD_NOBOX"/> | ||
| </graphic> | ||
| <tooltip> | ||
| <Tooltip text="%Add new String"/> | ||
| </tooltip> | ||
| </Button> | ||
| </VBox> | ||
| <HBox alignment="BOTTOM_LEFT" spacing="8.0"> | ||
| <Label styleClass="sectionHeader" text="%String constants"/> | ||
| <Button onAction="#openHelp" styleClass="icon-button,narrow"> | ||
| <graphic> | ||
| <JabRefIconView glyph="HELP"/> | ||
| </graphic> | ||
| <tooltip> | ||
| <Tooltip text="%Open Help page"/> | ||
| </tooltip> | ||
| </Button> | ||
| </HBox> | ||
| <TableView fx:id="stringsList" VBox.vgrow="ALWAYS"> | ||
| <columns> | ||
| <TableColumn fx:id="labelColumn" minWidth="75.0" text="%Label"/> | ||
| <TableColumn fx:id="contentColumn" minWidth="75.0" text="%Content"/> | ||
| <TableColumn fx:id="actionsColumn" maxWidth="30.0" minWidth="30.0" prefWidth="30.0" | ||
| editable="false" resizable="false" reorderable="false"/> | ||
| </columns> | ||
| <columnResizePolicy> | ||
| <TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/> | ||
| </columnResizePolicy> | ||
| </TableView> | ||
| <HBox alignment="BASELINE_RIGHT" spacing="4.0"> | ||
| <Button fx:id="addStringButton" text="%Add" onAction="#addString"> | ||
| <graphic> | ||
| <JabRefIconView glyph="ADD_NOBOX"/> | ||
| </graphic> | ||
| <tooltip> | ||
| <Tooltip text="%Add new String"/> | ||
| </tooltip> | ||
| </Button> | ||
| </HBox> | ||
| </fx:root> | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just add the PR as a number/link here as well