Skip to main content



      Home
Home » Eclipse Projects » GEF » Container Size
Container Size [message #83057] Tue, 10 June 2003 15:54
Eclipse UserFriend
Originally posted by: idan_zak2.walla.co.il

Is it possible to set an EditPart size to best fit it's childs EditParts ?
Re: Container Size [message #83142 is a reply to message #83057] Tue, 10 June 2003 15:19 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

When using XYLayout, the width/height should be -1.
"Idan" <idan_zak2@walla.co.il> wrote in message
news:bc59ch$4sr$1@rogue.oti.com...
> Is it possible to set an EditPart size to best fit it's childs EditParts ?
>
>
Re: Container Size [message #83156 is a reply to message #83057] Tue, 10 June 2003 15:20 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

When the editpart's figure is *inside* an XYLayout, its constraints
Rectangle should have width and height of -1.

Also, the editpart which contains children must also implement
getPreferredSize correctly. This is done by the LayoutManager on the
editpart's figure

"Idan" <idan_zak2@walla.co.il> wrote in message
news:bc59ch$4sr$1@rogue.oti.com...
> Is it possible to set an EditPart size to best fit it's childs EditParts ?
>
>
Previous Topic:GEF Benchmarks
Next Topic:Edit Policy
Goto Forum:
  


Current Time: Sun Jul 27 09:11:58 EDT 2025

Powered by FUDForum. Page generated in 0.04068 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top