Skip to main content



      Home
Home » Eclipse Projects » GEF » Sizing Figures
Sizing Figures [message #91593] Thu, 28 August 2003 06:13 Go to next message
Eclipse UserFriend
Originally posted by: gg.decisionsoft.co.uk

Is there an equivalent of the pack() command for IFigures?

I have a number of Panels in a FreeformLayout that each contain their own figures.

The panels use a toolbar layout to position their children.

When the view is displayed, the panels are all the same size, regardless of their contents.

--
Geoff
Re: Sizing Figures [message #91635 is a reply to message #91593] Thu, 28 August 2003 09:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

If you use -1, -1 as width and height inside the FreeformLayout, the figures
will be "packed" to their preferred size.

"Geoff Gibbs" <gg@decisionsoft.co.uk> wrote in message
news:bikkcd$p00$1@eclipse.org...
> Is there an equivalent of the pack() command for IFigures?
>
> I have a number of Panels in a FreeformLayout that each contain their own
figures.
>
> The panels use a toolbar layout to position their children.
>
> When the view is displayed, the panels are all the same size, regardless
of their contents.
>
> --
> Geoff
>
Re: Sizing Figures [message #91708 is a reply to message #91635] Fri, 29 August 2003 03:41 Go to previous message
Eclipse UserFriend
Originally posted by: gg.decisionsoft.co.uk

Randy Hudson wrote:

> If you use -1, -1 as width and height inside the FreeformLayout, the figures
> will be "packed" to their preferred size.
>

Thanks. Obviously having a bit of a slow day here!

--
Geoff
Previous Topic:Additional palette?
Next Topic:Articles page updated
Goto Forum:
  


Current Time: Sun Apr 27 00:42:06 EDT 2025

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

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

Back to the top