Community
Participate
Working Groups
We are using a customization of MessageDialog. One of its changes is that we only want to have a single column in the grid. This can't be easily customized since IconAndMessageDialog#getColumnCount is package private. I'd like to request changing the visibility to protected in order to allow clients to customize it. As a workaround the GridLayout can be modified as follows: @Override protected Control createContents(Composite parent) { Composite composite = (Composite) super.createContents(parent); GridLayout layout = (GridLayout) composite.getLayout(); layout.numColumns = 1; return composite; }
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/171867
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/171867 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=6baca03a73f12fe2128654047b6c81886ed35580