directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot" ...@marcelot.net>
Subject Re: [Studio] Customizable size for ConnectionWidget
Date Tue, 23 Oct 2007 07:37:00 GMT
Ok, cool. Thanks.

I going to modify the ConnectionWidget GridData then, and see where it is
used in the LDAP Browser plugins to add an override of the GridData.

Regards,
P-A

On 10/22/07, Stefan Seelmann <seelmann@apache.org> wrote:
>
>
> > 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