Mercurial > hg > truffle
changeset 3680:6157f507b7df
Merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 21 Nov 2011 19:28:08 +0100 |
parents | 6cadc61ca604 (current diff) 9482471a7dfa (diff) |
children | ff6582ef15b3 |
files | |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/EditorTopComponent.java Mon Nov 21 19:27:54 2011 +0100 +++ b/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/EditorTopComponent.java Mon Nov 21 19:28:08 2011 +0100 @@ -287,11 +287,12 @@ interactionButtons.add(button); toolBar.add(button); selectionModeAction.addPropertyChangeListener(this); - + toolBar.add(Box.createHorizontalGlue()); Action action = Utilities.actionsForPath("QuickSearchShadow").get(0); Component quicksearch = ((Presenter.Toolbar) action).getToolbarPresenter(); - toolBar.add(quicksearch, BorderLayout.CENTER); + quicksearch.setMinimumSize(quicksearch.getPreferredSize()); // necessary for GTK LAF + toolBar.add(quicksearch); centerPanel = new JPanel(); this.add(centerPanel, BorderLayout.CENTER);