Summary: | TableEditor: minimum size is too small | ||
---|---|---|---|
Product: | JMeter | Reporter: | Vincent HERILIER <vherilier> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | p.mouawad |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | limits the minimun size of TableEditor UI widget to show header row and at least 2 data rows |
Description
Vincent HERILIER
2016-01-15 11:08:01 UTC
Setting the minimum size in the makePanel method insures not reducing too much the widget and allows to see if there's at least a row inside By my side I'm using "scroller.setMinimumSize(new Dimension(100, 70));" to set it ... private JComponent makePanel() { JPanel p = new JPanel(new BorderLayout()); JScrollPane scroller = new JScrollPane(table); scroller.setMinimumSize(new Dimension(100, 70)); scroller.setPreferredSize(scroller.getMinimumSize()); p.add(scroller,BorderLayout.CENTER); JPanel south = new JPanel(); ... Created attachment 33495 [details]
limits the minimun size of TableEditor UI widget to show header row and at least 2 data rows
patch that fixes the minimum size to the TableEditor UI widget when the windows is size reduced, the widget will no more be reduced until its header height. At least 2 rows will be shown
made a PR#128: https://github.com/apache/jmeter/pull/128 Date: Thu Feb 18 12:51:28 2016 New Revision: 1731061 URL: http://svn.apache.org/viewvc?rev=1731061&view=rev Log: Bug 58870 - TableEditor: minimum size is too small #resolve #128 Bugzilla Id: 58870 Modified: jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java jmeter/trunk/xdocs/changes.xml Thanks a lot |