|
From: <va...@us...> - 2011-06-30 10:59:04
|
Revision: 14107
http://gate.svn.sourceforge.net/gate/?rev=14107&view=rev
Author: valyt
Date: 2011-06-30 10:58:57 +0000 (Thu, 30 Jun 2011)
Log Message:
-----------
Force the parameter viewer display the whole value (and thus allow the scroller do to its job).
Modified Paths:
--------------
gate/trunk/src/gate/gui/PRViewer.java
Modified: gate/trunk/src/gate/gui/PRViewer.java
===================================================================
--- gate/trunk/src/gate/gui/PRViewer.java 2011-06-30 10:21:16 UTC (rev 14106)
+++ gate/trunk/src/gate/gui/PRViewer.java 2011-06-30 10:58:57 UTC (rev 14107)
@@ -61,7 +61,7 @@
setLayout(new BorderLayout());
editor = new ResourceParametersEditor();
editor.setEditable(false);
- editor.setAutoResizeMode(XJTable.AUTO_RESIZE_LAST_COLUMN);
+ editor.setAutoResizeMode(XJTable.AUTO_RESIZE_OFF);
JScrollPane scroller = new JScrollPane(editor);
scroller.setAlignmentX(Component.LEFT_ALIGNMENT);
scroller.setAlignmentY(Component.TOP_ALIGNMENT);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|