ViewResultsTree: text not refitted if vertical scrollbar is required

Bugzilla Id: 55111

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1501661 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bruno Demion 2013-07-10 07:15:43 +00:00
parent ae85eed3af
commit d2551f6710
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,9 @@ public class RenderAsText extends SamplerResultTab implements ResultRenderer {
results.setText(response == null ? "" : response); // $NON-NLS-1$
results.setCaretPosition(0);
resultsScrollPane.setViewportView(results);
// Bug 55111 - Refresh JEditor pane size depending on the presence or absence of scrollbars
resultsScrollPane.setPreferredSize(resultsScrollPane.getMinimumSize());
results.revalidate();
}
/** {@inheritDoc} */

View File

@ -136,6 +136,7 @@ Transaction Controller now sets Response Code of Generated Parent Sampler (if Ge
<li><bugzilla>54589</bugzilla> - View Results Tree have a lot of Garbage characters if html page uses double-byte charset</li>
<li><bugzilla>54753</bugzilla> - StringIndexOutOfBoundsException at SampleResult.getSampleLabel() if key_on_threadname=false when using Statistical mode</li>
<li><bugzilla>54865</bugzilla> - ArrayIndexOutOfBoundsException if "sample_variable" is set in client but not server</li>
<li><bugzilla>55111</bugzilla> - ViewResultsTree: text not refitted if vertical scrollbar is required</li>
</ul>
<h3>Timers, Assertions, Config, Pre- &amp; Post-Processors</h3>