-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Fix: Optimize UI layout for Web Search preferences #14819
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
base: main
Are you sure you want to change the base?
Conversation
Replaced the large TableView with a dynamic VBox layout to remove unused vertical space.
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
|
Apologies for the delay @koppor ! I missed the notification earlier. Now fault is mended and order restored. |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
A vertical gap usually 10 should be visible between controls |
…gerx/jabref into fix-14556-web-search-ui
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
Closes #14556
The "Search Engine URL Templates" table in Preferences > Web Search was consuming excessive vertical space due to a
VBox.vgrow="ALWAYS"constraint on the TableView, creating a large empty gap in the UI.Changes:
TableViewcontrol with a lightweightVBoxcontainer.Screenshots
Before:
After (Fix):
Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (minor change).PR Type
Bug fix, Enhancement
Description
Replace TableView with dynamic VBox layout for search engines
Remove excessive vertical space in Web Search preferences UI
Simplify search engine display with label and text field
Remove obsolete localization keys and "Press return" hint
Diagram Walkthrough
File Walkthrough
WebSearchTab.java
Replace TableView with dynamic VBox layoutjabgui/src/main/java/org/jabref/gui/preferences/websearch/WebSearchTab.java
InvalidationListener
createSearchEngineNode()method to build HBox containerswith name label and URL text field
WebSearchTab.fxml
Simplify FXML layout with VBox replacementjabgui/src/main/resources/org/jabref/gui/preferences/websearch/WebSearchTab.fxml
JabRef_en.properties
Remove obsolete localization keysjablib/src/main/resources/l10n/JabRef_en.properties