From 729bc28f2859f27698f7bdeabf6c4a467eabed5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Cr=C3=A9mieux?= Date: Tue, 18 Jun 2024 22:08:59 +0200 Subject: [PATCH] Wrap group change details text to fit view ref: https://github.com/JabRef/jabref/issues/11220 --- CHANGELOG.md | 3 ++- .../jabref/gui/collab/groupchange/GroupChangeDetailsView.java | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be7a44bac51d..3201ee196745 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv - We slightly improved the duplicate check if ISBNs are present. [#8885](https://github.com/JabRef/jabref/issues/8885) - JabRef no longer downloads HTML files of websites when a PDF was not found. [#10149](https://github.com/JabRef/jabref/issues/10149) - We added the HTTP message (in addition to the response code) if an error is encountered. [#11341](https://github.com/JabRef/jabref/pull/11341) +- We made label wrap text to fit view size when reviewing external group changes. [#1120](https://github.com/JabRef/jabref/issues/11220) ### Fixed @@ -50,7 +51,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv - We fixed an issue where the value of "Override default font settings" was not applied on startup [#11344](https://github.com/JabRef/jabref/issues/11344) - We fixed an issue when "Library changed on disk" appeared after a save by JabRef. [#4877](https://github.com/JabRef/jabref/issues/4877) - We fixe an issue where the value of "Override default font settings" was not applied on startup [#11344](https://github.com/JabRef/jabref/issues/11344) -- We fixed an issue where DatabaseChangeDetailsView was not scrollable when reviewing external metadata changes [#1120](https://github.com/JabRef/jabref/issues/11220) +- We fixed an issue where DatabaseChangeDetailsView was not scrollable when reviewing external metadata changes. [#1120](https://github.com/JabRef/jabref/issues/11220) ### Removed diff --git a/src/main/java/org/jabref/gui/collab/groupchange/GroupChangeDetailsView.java b/src/main/java/org/jabref/gui/collab/groupchange/GroupChangeDetailsView.java index 914a2aceb754..673c716ce12c 100644 --- a/src/main/java/org/jabref/gui/collab/groupchange/GroupChangeDetailsView.java +++ b/src/main/java/org/jabref/gui/collab/groupchange/GroupChangeDetailsView.java @@ -15,6 +15,8 @@ public GroupChangeDetailsView(GroupChange groupChange) { labelValue = Localization.lang("%0. Accepting the change replaces the complete groups tree with the externally modified groups tree.", groupChange.getName()); } Label label = new Label(labelValue); + label.setWrapText(true); + setLeftAnchor(label, 8d); setTopAnchor(label, 8d); setRightAnchor(label, 8d);