http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5587
Christopher Brooks <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Hours Worked| |2.5 Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #8 from Christopher Brooks <[email protected]> 2012-08-29 21:44:56 PDT --- This is fixed. I added code to Query: protected static void _textAreaSetRowsAndRepackParent(JTextArea textArea, int minimumNumberOfRows) { // This method is based on code by Patricia Derler that was // originally in PtolemyQuery. // One test for this is to drag in a StringConst and type in // lots of characters. You should get a scrollbar. See // http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5587 if (textArea.getRows() < minimumNumberOfRows) { textArea.setRows(textArea.getRows() + 1); textArea.revalidate(); Component parent = textArea.getParent(); while ((parent != null) && !(parent instanceof ComponentDialog)) { parent = parent.getParent(); } if (parent instanceof ComponentDialog) { ComponentDialog dialog = (ComponentDialog) parent; dialog.doLayout(); dialog.pack(); } } } This is based on code by Patricia that was in PtolemyQuery. Now PtolemyQuery calls this method as well. -- Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. _______________________________________________ Kepler-dev mailing list [email protected] http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
