Make copy icon in popups smaller

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2022-11-25 16:35:18 -05:00
parent 891685f3ec
commit 65eebefb69
No known key found for this signature in database
GPG Key ID: 02AA2BAE387C8307

View File

@ -762,7 +762,7 @@ public abstract class Overlay<T extends Overlay<T>> {
copyIcon.getStyleClass().add("popup-icon-information");
copyIcon.setManaged(true);
copyIcon.setVisible(true);
FormBuilder.getIconForLabel(AwesomeIcon.COPY, copyIcon, "1.5em");
FormBuilder.getIconForLabel(AwesomeIcon.COPY, copyIcon, "1.1em");
copyIcon.addEventHandler(MOUSE_CLICKED, mouseEvent -> {
if (message != null) {
String forClipboard = headLineLabel.getText() + System.lineSeparator() + message