Skip to content

Commit

Permalink
Revert "SplitPanel shows a scrollbar instead of shrinking the right p…
Browse files Browse the repository at this point in the history
…anel in the main view"

The reported problem was fixed with the patch (that is reverted here), but the Tree Results View
was broken with it. So revert it for now.

This reverts commit 2e7c471.
This reverts commit a7bdcb2.

Bugzilla Id: 65545
  • Loading branch information
FSchumacher committed Sep 3, 2021
1 parent 2c511c6 commit 093df18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@

package org.apache.jmeter.gui.util;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;

import javax.swing.Box;
import javax.swing.JComponent;
import javax.swing.JPanel;

import net.miginfocom.swing.MigLayout;

public class VerticalPanel extends JPanel {
private static final long serialVersionUID = 240L;

Expand All @@ -46,8 +45,8 @@ public VerticalPanel(Color bkg) {
}

public VerticalPanel(int vgap, float horizontalAlign) {
super(new MigLayout("fillx, wrap 1, insets 0", "[95%!,fill,grow]"));
add(subPanel, "north");
super(new BorderLayout());
add(subPanel, BorderLayout.NORTH);
this.vgap = vgap;
this.horizontalAlign = horizontalAlign;
}
Expand Down
1 change: 0 additions & 1 deletion xdocs/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ Summary
<li><bug>65300</bug>IllegalAccessError when opening file dialog with Java 16</li>
<li><bug>65336</bug>Blank labels when different elements had the same name</li>
<li><bug>65522</bug>Restart doesn't work, when parameters contain spaces</li>
<li><bug>65545</bug>SplitPanel shows a scrollbar instead of shrinking the right panel in the main view</li>
</ul>

<!-- =================== Thanks =================== -->
Expand Down

0 comments on commit 093df18

Please sign in to comment.