Re: [nebula-dev] computeSize in Control

2012-05-11 Thread Hallvard Trætteberg
Well, some places say it should return the preferred size. In the case of GeoMap, I think it is reasonable to at least ask for the size corresponding to one map tile. Hallvard On 10.05.12 17.33, Matthew Hall wrote: The computeSize method should report the minimum size needed by the control.

Re: [nebula-dev] computeSize in Control

2012-05-11 Thread Tom Schindl
The preferred size only if you pass SWT.DEFAULT as a hint! Tom Am 11.05.12 09:00, schrieb Hallvard Trætteberg: Well, some places say it should return the preferred size. In the case of GeoMap, I think it is reasonable to at least ask for the size corresponding to one map tile. Hallvard

Re: [nebula-dev] computeSize in Control

2012-05-11 Thread Hallvard Trætteberg
On 11.05.12 09.03, Tom Schindl wrote: The preferred size only if you pass SWT.DEFAULT as a hint! Yes, like I did in int w = (wHint != SWT.DEFAULT ? wHint : /* your preferred width */); int h = (hHint != SWT.DEFAULT ? hHint : /* your preferred height */); return new Point(w, h); Tom Am

[nebula-dev] Committer vote for Hallvard Traetteberg has been approved by the PMC

2012-05-11 Thread portal on behalf of portal-noreply
technology.nebula Committers, This automatically generated message marks the PMC's approval of the vote for Hallvard Traetteberg's full Committer status on the technology.nebula project. The next step is for the project lead to return to the portal and fill in the VCS package and employer