Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ScrolledComposite with non-layout content-Composite
ScrolledComposite with non-layout content-Composite [message #461509] Wed, 10 January 2007 20:47 Go to next message
Eclipse UserFriend
[crossposted to .swt and .rcp]

Hello,

i have created my own layout-manager, using it in a composite.
my layout-manager basically does nothing but positioning the children on
"grid-docked" positions.
the composite using that layout-manager is content of a scrolledcomposite.

the composite's children may get moved around with the mouse, everytime
the drag stops the layout-manager's layout() is called.
the layout-manager knows how much space the moved-around children need
in total. but how do i propagate this information to the
ScrolledComposite? i think ScrolledComposite listens to resize-events
but how do i trigger them?

Thanks,
Kai
Re: ScrolledComposite with non-layout content-Composite [message #461541 is a reply to message #461509] Thu, 11 January 2007 12:40 Go to previous message
Eclipse UserFriend
Kai Meder schrieb:
> i have created my own layout-manager, using it in a composite.
> my layout-manager basically does nothing but positioning the children on
> "grid-docked" positions.
> the composite using that layout-manager is content of a scrolledcomposite.
>
> the composite's children may get moved around with the mouse, everytime
> the drag stops the layout-manager's layout() is called.
> the layout-manager knows how much space the moved-around children need
> in total. but how do i propagate this information to the
> ScrolledComposite? i think ScrolledComposite listens to resize-events
> but how do i trigger them?

anyone any hints please?
its quite urgent as the university's deadline is on thursday...

thanks in advance,
kai
Previous Topic:dispose hook
Next Topic:List of recent files
Goto Forum:
  


Current Time: Tue Mar 25 03:12:23 EDT 2025

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

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

Back to the top