Community
Participate
Working Groups
20030129 If you are in high contrast mode the JAR package wizard will have the tree and list area cut off. To set up High Contrast 1) Go to Control Panel 2) Select accessiblity 3) Select Display-> High Contrast
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.