Author: ruschein
Date: 2010-06-25 13:48:01 -0700 (Fri, 25 Jun 2010)
New Revision: 20661
Modified:
coreplugins/trunk/browser/src/browser/ui/FormulaBuilderDialog.java
Log:
Changed sizes of 3 combo boxes.
Modified: coreplugins/trunk/browser/src/browser/ui/FormulaBuilderDialog.java
===================================================================
--- coreplugins/trunk/browser/src/browser/ui/FormulaBuilderDialog.java
2010-06-25 20:44:38 UTC (rev 20660)
+++ coreplugins/trunk/browser/src/browser/ui/FormulaBuilderDialog.java
2010-06-25 20:48:01 UTC (rev 20661)
@@ -152,7 +152,7 @@
private void initFunctionComboBox(final Container contentPane) {
functionComboBox = new JComboBox();
- final Dimension desiredWidthAndHeight = new Dimension(600, 40);
+ final Dimension desiredWidthAndHeight = new Dimension(600, 30);
functionComboBox.setPreferredSize(desiredWidthAndHeight);
contentPane.add(functionComboBox);
functionComboBox.addActionListener(new ActionListener() {
@@ -254,9 +254,7 @@
argumentPanel.setBorder(BorderFactory.createTitledBorder("Next
Argument"));
attribNamesComboBox = new JComboBox();
- Dimension size = new Dimension();
- size = attribNamesComboBox.getSize(size);
- attribNamesComboBox.setPreferredSize(new Dimension(160, 40));
+ attribNamesComboBox.setPreferredSize(new Dimension(160, 30));
argumentPanel.add(attribNamesComboBox);
attribNamesComboBox.setEnabled(false);
@@ -315,7 +313,7 @@
applyToComboBox.addItem(ApplicationDomain.ENTIRE_ATTRIBUTE);
final Dimension widthAndHeight =
applyToComboBox.getPreferredSize();
- final Dimension desiredWidthAndHeight = new Dimension(180, 40);
+ final Dimension desiredWidthAndHeight = new Dimension(180, 30);
applyToComboBox.setPreferredSize(desiredWidthAndHeight);
applyToComboBox.setMinimumSize(desiredWidthAndHeight);
applyToComboBox.setSize(desiredWidthAndHeight);
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.