directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: [Studio] Customizable size for ConnectionWidget
Date Mon, 22 Oct 2007 18:53:39 GMT

> Maybe what we could do, is set the default GridData with no height and
> width hints and when we use the ConnectionWidget and need to change its
> size, use the following code (which overrides the default definition):
>     GridData myGridData = new GridData( GridData.FILL_BOTH );
>     myGridData.widthHint = 450;
>     myGridData.heightHint = 250;
>     connectionWidget.getViewer.getTree.setLayoutData( myGridData );
>  
> It should be working...
> WDYT ?
>

Yes, sounds good.

> Regards,
> P-A
> 
>  

Stefan


Mime
View raw message