Tested on WindowsXP, UI tweaks accordingly.

This commit is contained in:
dev
2011-08-04 08:21:03 +00:00
parent d1a45e2c1b
commit 43bc26ba6d
4 changed files with 5 additions and 4 deletions

View File

@ -95,7 +95,7 @@ public class ConfigurationTab extends TabLogoPanel {
final JButton btnApply = new JButton(Transl._("Apply"));
add(btnApply);
btnApply.setBounds(442, 272, 82, 24);
btnApply.setBounds(442, 269, 82, 24);
btnApply.addActionListener(new ActionListener(){
@Override
public void actionPerformed(ActionEvent arg0) {

View File

@ -10,6 +10,7 @@ import javax.swing.plaf.InsetsUIResource;
public class GUIHelper {
public final static Color VERY_LIGHT = new Color(230,230,230);
public final static Color LIGHT = new Color(215,215,215);
public final static Color MEDIUM_LIGHT_LIGHT = new Color(205,205,205);
public final static Color MEDIUM_LIGHT = new Color(195,195,195);
public final static Color MEDIUM = new Color (175,175,175);
public final static Color DARK = new Color(145,145,145);

View File

@ -35,7 +35,7 @@ public class Main {
private static JTabbedPane tabbedPane;
public final static int FRAME_WIDTH = 550;
public final static int FRAME_HEIGHT = 400;
public final static int TABBED_PANE_HEIGHT = FRAME_HEIGHT -58;
public final static int TABBED_PANE_HEIGHT = FRAME_HEIGHT -61;
/**
* Launch the application.
@ -97,7 +97,7 @@ public class Main {
JPanel statusPanel = new JPanel();
root.add(statusPanel);
statusPanel.setBounds(5, TABBED_PANE_HEIGHT + 3, FRAME_WIDTH-5, 28);
statusPanel.setBounds(5, TABBED_PANE_HEIGHT + 3, FRAME_WIDTH-5, 30);
statusPanel.setLayout(new BorderLayout(0, 0));
statusPanel.setOpaque(false);

View File

@ -15,7 +15,7 @@ public class GradientPanel extends JPanel {
public final static int DIAGONAL_RIGHT = 3;
private Color startColor = Color.WHITE;
private Color endColor = GUIHelper.MEDIUM_LIGHT;
private Color endColor = GUIHelper.MEDIUM_LIGHT_LIGHT;
private int direndColortion;
private boolean cyclic;
private int maxLength;