Summary: | JAR package wizard cut off in High Contrast [render] | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tod Creasey <Tod_Creasey> | ||||
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||
Status: | RESOLVED WONTFIX | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | veronika_irvine | ||||
Version: | 2.1 | Keywords: | accessibility | ||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Tod Creasey
2003-01-30 11:09:23 EST
Doesn't happen under Windows 2000. Have to wait until we get an XP box. Tod, can you provide a screen shot. Created attachment 3240 [details]
Jar Export wizard in High Constrast
We had the same problem in the Export and Import dialogs we provided and it was
due to us slamming the size of the ResourceTreeAndListGroup. If you switch to
using the way we do it (by checking that we have the space) you should solve
this problem.
This is also an issue for the javadoc wizard Tod, can you provide a more detailed hint what caused the problem. That would ease fixing it. The problem is the use of a height hint for the table and the list. If it is set too large the layout will cut these widgets off. I added a static new method called availableRows to Dialog so that you can decide if there is enough space for your widget or not. No action planned for 2.1 The following code in WorkbenchWizardListSelectionPage.createControl seems wrong: //Only give a height hint if the dialog is going to be too small if(availableRows > 50){ data.heightHint = SIZING_LISTS_HEIGHT; } else{ data.heightHint = availableRows * 3; } Setting the heightHint to availableRows * 3 will never be good - it will always be too big to show. Also, SIZING_LISTS_HEIGHT (200) seems a bit arbitrary. It could be something like: table.setFont(font); //set font first so it can be included in calculations //Use the table to determine how much sace is required to show // a set number of rows in the table (in this case 6) int itemHeight = table.getItemHeight(); Rectangle trim = table.computeTrim(0, 0, SWT.DEFAULT, 6*itemHeight); data.heightHint = Math.min(trim.height, table.getDisplay().getClientArea ().height / 2); As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. |