]> ruin.nu Git - moosique.git/commitdiff
some changes..
authorMichael Andreen <harv@ruin.nu>
Wed, 7 May 2003 13:44:11 +0000 (13:44 +0000)
committerMichael Andreen <harv@ruin.nu>
Wed, 7 May 2003 13:44:11 +0000 (13:44 +0000)
MooGUI.java
MooTrackTitle.java
MooTrackView.java

index 3fff59d4e5bc1c766faab2a6f7bc6c239c22558c..63250d3124b764c427defaa604f9b551b0a2c6f4 100644 (file)
@@ -48,6 +48,7 @@ public class MooGUI extends JFrame implements WindowListener {
                // setLocation((Toolkit.getDefaultToolkit().getScreenSize().width / 2) - (bounds.width / 2), (Toolkit.getDefaultToolkit().getScreenSize().height / 2) - (bounds.height / 2));
                // setResizable(false);
                // setBackground(Color.white);
+               pack();
                setVisible(true);
        }
        
index 8b3c84d1d096dd7401f41fddefd1ff2bde91cad5..ef333efc4d05894116967385dbec70687fd67b9c 100644 (file)
@@ -19,12 +19,12 @@ public class MooTrackTitle extends JPanel{
         * Creates the title bar.
         */
        public MooTrackTitle () {
-               setLayout(new GridLayout(1,3));
+               setLayout(new GridLayout(2,2));
                instruments = new MooInstrumentList();
                add(instruments);
 
                channel = new JComboBox();
-               for (int i = 0; i < 16; i++)
+               for (int i = 1; i <= 16; i++)
                        channel.addItem(new Integer(i));
                channel.addItemListener(new ItemListener(){
                                public void itemStateChanged(ItemEvent e){
index d7833e4719c37417d7af181be49c1d721c1672c4..e337eb1e21ac292c4d201ff4267895ec15f5ea82 100644 (file)
@@ -73,7 +73,7 @@ public class MooTrackView extends JPanel{
        }
        
        private static final int PANEL_WIDTH = 65;
-       private static final int TITLE_HEIGHT = 20;
+       private static final int TITLE_HEIGHT = 40;
        private static final int NOTEVIEW_HEIGHT = 200;
 
 }