Merge pull request #1707 from SiboVG/increase-comp-font-size

Increase component add button text size
This commit is contained in:
Sibo Van Gool 2022-09-30 19:03:06 +02:00 committed by GitHub
commit baf717d858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");