Bug 18310 - Preference Dialog gets too large for pages with tables
Summary: Preference Dialog gets too large for pages with tables
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 17367 17798 18294
  Show dependency tree
 
Reported: 2002-05-30 10:05 EDT by Tod Creasey CLA
Modified: 2002-05-30 14:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2002-05-30 10:05:18 EDT
In a lower resolution mode if a preference page has a table (like the installed
JREs) it is possible for the page to get too large to fit onto the screen rela
estate. The size of the table is dependant on the size of the previous pages
composite - if it was a large on the preferred size of the table will be large.

I suggest we have a maximum page size - say 800x800 (we already have a 400 x 400
minimum).

Note that on Linux dialogs are resizable so we may want to defer this.

STEPS
1) Open the Preference Dialog
2) select the Installed JRE page. Table columns are truncated (correctly).
3) Select Ant preference page
4) Hit OK
5) Open the Preference Dialog - Ant is default selected and quite large
6) Selected installed JREs - button is cut off.
Comment 1 Tod Creasey CLA 2002-05-30 10:40:13 EDT
The computeSize was being done without packing the widgets first. Added a call
to pack() in before the computeSize call in layout().

Fixed in build 20020530
Comment 2 Tod Creasey CLA 2002-05-30 14:20:47 EDT
Should say Fixed in build >20020530