Bug 34528 [Dialogs] Error text in Move dialog is red, layed out poorly
1. select a folder 2. context menu, select "Move" 3. deselect the folder in the dialog You will get a warning message at the bottom of the dialog. There are a few problems: 1. This warning message is too long to fit in the dialog and gets clipped. It needs to be multiline and wrap. 2. There should be more layout space on the left since atm the text is scrunched up against the left edge of the dialog 3. Warning/error messages usually have the warning/error icon preceeding the message (?)
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ContainerSelectionDialog.java
public void handleEvent(Event event) {
                if (statusMessage != null && validator != null) {
                    String errorMsg = validator.isValid(group
                            .getContainerFullPath());
                    if (errorMsg == null || errorMsg.equals("")) { 
                        statusMessage.setText(""); 
                        getOkButton().setEnabled(true);
                    } else {
                        statusMessage.setForeground(JFaceColors
                                .getErrorText(statusMessage.getDisplay()));
                        statusMessage.setText(errorMsg);
                        getOkButton().setEnabled(false);
                    }
                }
            }
        };
        
        group = new ContainerSelectionGroup(area, listener,
                allowNewContainerName, getMessage(), showClosedProjects);
        if (initialSelection != null) {
            group.setSelectedContainer(initialSelection);
        }
        statusMessage = new Label(parent, SWT.NONE);
        statusMessage.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
        statusMessage.setFont(parent.getFont());
        return dialogArea;
    }
    /**
     * The <code>ContainerSelectionDialog</code> implementation of this 
     * <code>Dialog</code> method builds a list of the selected resource containers