[Mongobrowser-commit] SF.net SVN: mongobrowser:[44] trunk/mongobrowser/src/com/mebigfatguy/ mongob
Status: Pre-Alpha
Brought to you by:
dbrosius
From: <dbr...@us...> - 2009-12-27 17:30:18
|
Revision: 44 http://mongobrowser.svn.sourceforge.net/mongobrowser/?rev=44&view=rev Author: dbrosius Date: 2009-12-27 17:30:10 +0000 (Sun, 27 Dec 2009) Log Message: ----------- fix the icons shifting Modified Paths: -------------- trunk/mongobrowser/src/com/mebigfatguy/mongobrowser/dialogs/MongoControlPanel.java Modified: trunk/mongobrowser/src/com/mebigfatguy/mongobrowser/dialogs/MongoControlPanel.java =================================================================== --- trunk/mongobrowser/src/com/mebigfatguy/mongobrowser/dialogs/MongoControlPanel.java 2009-12-27 17:25:56 UTC (rev 43) +++ trunk/mongobrowser/src/com/mebigfatguy/mongobrowser/dialogs/MongoControlPanel.java 2009-12-27 17:30:10 UTC (rev 44) @@ -136,6 +136,7 @@ dbNewCollectionButton = new JButton(new NewCollectionAction(context)); ImageIcon icon = new ImageIcon(MongoControlPanel.class.getResource("/com/mebigfatguy/mongobrowser/resources/newcollection.png")); dbNewCollectionButton.setIcon(icon); + dbNewCollectionButton.setText(""); dbNewCollectionButton.setPreferredSize(new Dimension(icon.getIconWidth(), icon.getIconHeight())); dbNewCollectionButton.setToolTipText(MongoBundle.getString(MongoBundle.Key.NewCollection)); add(dbNewCollectionButton, cc.xy(6, 1)); @@ -144,6 +145,7 @@ dbNewObjectButton = new JButton(new NewObjectAction(context)); icon = new ImageIcon(MongoControlPanel.class.getResource("/com/mebigfatguy/mongobrowser/resources/newobject.png")); dbNewObjectButton.setIcon(icon); + dbNewObjectButton.setText(""); dbNewObjectButton.setPreferredSize(new Dimension(icon.getIconWidth(), icon.getIconHeight())); dbNewObjectButton.setToolTipText(MongoBundle.getString(MongoBundle.Key.NewObject)); add(dbNewObjectButton, cc.xy(8, 1)); @@ -152,6 +154,7 @@ dbNewKeyValueButton = new JButton(new NewKeyValueAction(context)); icon = new ImageIcon(MongoControlPanel.class.getResource("/com/mebigfatguy/mongobrowser/resources/newkeyvalue.png")); dbNewKeyValueButton.setIcon(icon); + dbNewKeyValueButton.setText(""); dbNewKeyValueButton.setPreferredSize(new Dimension(icon.getIconWidth(), icon.getIconHeight())); dbNewKeyValueButton.setToolTipText(MongoBundle.getString(MongoBundle.Key.NewKeyValue)); add(dbNewKeyValueButton, cc.xy(10, 1)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |