Hi,
I'va an issue with some Text that is feed by a Dialog, and which expands
way too much when the Dialog generates a long text.
Typically, here is what teh screen looks like before the edition :
+---------------------------------------------------------------------------------+
|
Tuning
|
+---------------------------------------------------------------------------------+
| .-------------------------------------.
.-------------------------------------. |
| | TCP configuration | |
Concurrency | |
| +-------------------------------------+
+-------------------------------------+ |
| | TCPBuffers |
| | |
| | +-----------------------+ | | Concurrency
: [ ] | |
| | | xyz | (Add) | | Max Pending Conn
: [ ] | |
| | | abc | (Edit) | | Max Pending Conn Auth
: [ ] | |
| | | | (Delete) | | Nb Threads
: [ ] | |
| | +-----------------------+ | | Nb Threads Tool Mode
: [ ] | |
| | | | Nb Listener threads
: [ ] | |
| | Max Incoming Buffer : [ ] |
| | |
| | Max Incoming Buffer Auth : [ ] |
| | |
| +-------------------------------------+
+-------------------------------------+ |
| .-------------------------------------.
.-------------------------------------. |
| | LDAP Limits | | Index
Limits | |
| +-------------------------------------+
+-------------------------------------+ |
| | Write Timeout : [ ] | | Integer Indices Length
: [ ] | |
| | Idle Timeout : [ ] | | Subany Indices Length
: [ ] | |
| | Size Limit : [ ] (Edit) | | Subany Indices Step
: [ ] | |
| | Time Limit : [ ] (Edit) | | Sub indices Max length
: [ ] | |
| | | | Sub indices Min length
: [ ] | |
| +-------------------------------------+
+-------------------------------------+ |
+---------------------------------------------------------------------------------+
When I enter many data into the Size Limit (this is done through the
Edit dialog), then the Size Limit text expands, with the Section, giving
something like :
|
.----------------------------------------------------------------------------------------------------------------------------------.
.-------------------------------------. |
| | LDAP Limits
| | Index Limits | |
|
+----------------------------------------------------------------------------------------------------------------------------------+
+-------------------------------------+ |
| | Write Timeout : [ ]
| | Integer Indices Length : [ ] | |
| | Idle Timeout : [ ]
| | Subany Indices Length : [ ] | |
| | Size Limit : [size.hard=8 size.soft=7 size.unchecked=disabled
size.pr=unlimited size.prtotal=disabled size.pr=noEstimate] (Edit) | |
Subany Indices Step : [ ] | |
FTR, I have 4 sections in the main page, one per 'box'. The TCP Config
section and the LDAP Limits section are expanded the exact same way.
What I want is that the Size Limit to have a fixed size, and be a WRAP
text, but I don't see how to do that...
The code is in
http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/pages/TuningPage.java?view=markup,
lines 768 for the section creation method ( createFormContent) and line
1009 (method createLdapLimitsSection) for the Size Limit Text.
thanks !