Community
Participate
Working Groups
I suggest we use a default icon which looks good on the light theme and the dark them. Maybe only adding a alpha value for the background is enough?
Matthias, something for you?
Hi Lars, with this little information it's hard to do anything on this bug. What is the "Default TitleAreaDial image"? Can you provide a screenshot showing the issue? Can you tell me where the image is located?
The image is the following: git/eclipse.platform.ui/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/images/title_banner.png Example code to create a related dialog: ------ import org.eclipse.jface.dialogs.IDialogConstants; import org.eclipse.jface.dialogs.TitleAreaDialog; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Shell; public class MyTitleAreaDialog extends TitleAreaDialog { /** * Create the dialog. * @param parentShell */ public MyTitleAreaDialog(Shell parentShell) { super(parentShell); } /** * Create contents of the dialog. * @param parent */ @Override protected Control createDialogArea(Composite parent) { Composite area = (Composite) super.createDialogArea(parent); Composite container = new Composite(area, SWT.NONE); container.setLayoutData(new GridData(GridData.FILL_BOTH)); return area; } } ---------
New Gerrit change created: https://git.eclipse.org/r/88992
New Gerrit change created: https://git.eclipse.org/r/88993
I already had this as the background in new_wiz.svg/png in the wizban folder of the org.eclipse.ui.ide plugin. So I simply copied this over.
Gerrit change https://git.eclipse.org/r/88992 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.images.git/commit/?id=cc67be01db7b81c46b86dbf010727a0769619b28
Gerrit change https://git.eclipse.org/r/88993 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=a652c335f0731329d0de475ca7e640cb275ff851
Thanks Matthias.