This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 42620 - "View Value" dialog should resize for the size of the value string
Summary: "View Value" dialog should resize for the size of the value string
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: HTTP Monitor (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords: UI
: 42676 43889 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-29 18:42 UTC by Ana.von Klopp
Modified: 2004-08-13 12:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ana.von Klopp 2004-04-29 18:42:59 UTC
If you select the "..." button on the HTTP Monitor 
to display a value that is large (e.g. the sort of 
things you get for request attributes in Struts), 
the entire string does not fit into the three rows 
textarea on the View Value dialog. Even if you 
resize the dialog, the textarea remains the same 
size. 

The dialog and the text area should probably 
attempt to resize itself automatically (within 
reason), and if the user resizes the area 
manually, the text area should go with it. 

Also, although the "view value" coloring follows 
the color scheme of the monitor as a whole, it's 
not enough contrast so it's hard to view.
Comment 1 Ana.von Klopp 2004-05-03 16:05:57 UTC
*** Issue 42676 has been marked as a duplicate of this issue. ***
Comment 2 Ana.von Klopp 2004-05-03 16:08:56 UTC
I'm going to change this to a bug and it should be fixed for Promo-D. 
A developer who uses NetBeans reported having trouble with this too. 
Comment 3 Ana.von Klopp 2004-05-26 17:54:16 UTC
*** Issue 43889 has been marked as a duplicate of this issue. ***
Comment 4 Sherold Dev 2004-08-03 14:43:35 UTC
Textfield and textarea is now being properly resized along with the
dialog.
Instead of automatic resizing I've decided to increase default
textarea size. The advantage of this is e.g. when adding new parameter
in the "Edit and Replay" dialog when even longer value can be entered
comfortably.
Textarea background color is now lighter and contrast is good enough.

Commit log:
Checking in ParamEditor.java;
/cvs/monitor/src/org/netbeans/modules/web/monitor/client/ParamEditor.java,v
 <--  ParamEditor.java
new revision: 1.13; previous revision: 1.12
done