Skip to content

Commit c4ff846

Browse files
committed
Merge branch 'develop' into feature/new_commands_3.2
2 parents 73a0679 + a8dce76 commit c4ff846

File tree

1 file changed

+4
-5
lines changed
  • EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/view/control

1 file changed

+4
-5
lines changed

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/view/control/ControlPanel.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
import static javax.swing.GroupLayout.Alignment.LEADING;
77
import static javax.swing.GroupLayout.Alignment.TRAILING;
88
import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.EM_ICON_COLORS;
9-
import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.STRING_ICON_COLORS;
109
import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.GENEMANIA_ICON;
1110
import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.GENEMANIA_ICON_COLOR;
1211
import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.LAYERED_EM_ICON;
1312
import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.LAYERED_STRING_ICON;
13+
import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.STRING_ICON_COLORS;
1414
import static org.baderlab.csplugins.enrichmentmap.view.util.IconUtil.getIconFont;
1515
import static org.baderlab.csplugins.enrichmentmap.view.util.SwingUtil.makeSmall;
1616
import static org.cytoscape.util.swing.IconManager.ICON_BARS;
@@ -464,8 +464,7 @@ protected void init() {
464464

465465
JScrollPane getScrollPane() {
466466
if (scrollPane == null) {
467-
scrollPane = new JScrollPane(getContentPane(), JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
468-
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
467+
scrollPane = new JScrollPane(getContentPane(), JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
469468
scrollPane.setOpaque(false);
470469
scrollPane.getViewport().setOpaque(false);
471470
scrollPane.setBorder(BorderFactory.createLineBorder(UIManager.getColor(BORDER_COLOR_KEY)));
@@ -841,8 +840,8 @@ JPanel getContentPane() {
841840
layout.setAutoCreateGaps(!LookAndFeelUtil.isAquaLAF());
842841

843842
layout.setHorizontalGroup(layout.createParallelGroup(CENTER, true)
844-
.addComponent(filterPanel, DEFAULT_SIZE, DEFAULT_SIZE, Short.MAX_VALUE)
845-
.addComponent(stylePanel, DEFAULT_SIZE, DEFAULT_SIZE, Short.MAX_VALUE)
843+
.addComponent(filterPanel, 100, 100, Short.MAX_VALUE)
844+
.addComponent(stylePanel, 100, 100, Short.MAX_VALUE)
846845
);
847846
layout.setVerticalGroup(layout.createSequentialGroup()
848847
.addComponent(filterPanel, DEFAULT_SIZE, DEFAULT_SIZE, Short.MAX_VALUE)

0 commit comments

Comments
 (0)