From 900547c9e88726ef2999c3be2875d26ff9a0e9e5 Mon Sep 17 00:00:00 2001 From: mikera Date: Wed, 4 Dec 2024 22:21:07 +0000 Subject: [PATCH] Main screen tweaks --- convex-gui/src/main/java/convex/gui/MainGUI.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/convex-gui/src/main/java/convex/gui/MainGUI.java b/convex-gui/src/main/java/convex/gui/MainGUI.java index 4a0fd3e63..34a9c3bd3 100644 --- a/convex-gui/src/main/java/convex/gui/MainGUI.java +++ b/convex-gui/src/main/java/convex/gui/MainGUI.java @@ -53,7 +53,7 @@ public MainGUI() { JComponent discord=createLaunchButton("Discord",Toolkit.ECOSYSTEM_ICON,this::launchDiscord,"Go to the Convex community Discord (opens web browser)."); actionPanel.add(discord); - JComponent www=createLaunchButton("convex.world",Toolkit.WWW_ICON,this::launchWebsite,"Go to the Convex main website (opens web browser)."); + JComponent www=createLaunchButton("Documentation",Toolkit.WWW_ICON,this::launchWebsite,"Go to the Convex docs website (opens web browser)."); actionPanel.add(www); add(actionPanel); @@ -93,7 +93,7 @@ public HackerTools launchTools() { } public void launchWebsite() { - Toolkit.launchBrowser("https://convex.world"); + Toolkit.launchBrowser("https://docs.convex.world"); } public JPanel createLaunchButton(String label, ImageIcon icon, Runnable cmd, String tooltip) { @@ -104,6 +104,7 @@ public JPanel createLaunchButton(String label, ImageIcon icon, Runnable cmd, Str butt.setToolTipText(tooltip); JLabel lab = new JLabel(label); + lab.setFont(Toolkit.BUTTON_FONT); lab.setHorizontalAlignment(SwingConstants.CENTER); JPanel panel=new JPanel();