From 1b50d8152c599653abe073e25b723f8382708309 Mon Sep 17 00:00:00 2001 From: SiboVG Date: Fri, 30 Sep 2022 19:02:09 +0200 Subject: [PATCH] Increase component add button text size --- swing/src/net/sf/openrocket/gui/main/ComponentAddButtons.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swing/src/net/sf/openrocket/gui/main/ComponentAddButtons.java b/swing/src/net/sf/openrocket/gui/main/ComponentAddButtons.java index 0ff03e261..86efa3799 100644 --- a/swing/src/net/sf/openrocket/gui/main/ComponentAddButtons.java +++ b/swing/src/net/sf/openrocket/gui/main/ComponentAddButtons.java @@ -331,7 +331,7 @@ public class ComponentAddButtons extends JPanel implements Scrollable { // Add labels String[] l = text.split("\n"); for (int i = 0; i < l.length; i++) { - add(new StyledLabel(l[i], SwingConstants.CENTER, -3.0f), "growx"); + add(new StyledLabel(l[i], SwingConstants.CENTER, -2.0f), "growx"); } add(new JLabel(), "push, sizegroup spacing");