Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problem with SearchDialog
Problem with SearchDialog [message #286167] Fri, 03 June 2005 09:02 Go to next message
Eclipse UserFriend
Hi,

I added a custom ISearchPage into the eclipse SearchDialog. Inside this
page, search criteria can be added through a button. If more than a number
of this criterias is added, the page should not resize but offer a
scrollbar. This works fine as long as the search page is not changed.
After switching to another page and back, my search page gets the full
size of the composite inside the scrollbar showing all criteria.

I had a look at SearchDialog and its inner class TabFolderLayout. In its
computeSize Method TabFolderLayout iterates over all children of a
composite to determine the size of the biggest child and returns this as
the size of this composite. But imho, this is not the behavier wanted when
a ScrolledComposite is involved?

Also does anybody know a way to prevent this behavier for
ScrolledComposites ?

Thanks in advance,

Harald
Re: Problem with SearchDialog [message #286181 is a reply to message #286167] Fri, 03 June 2005 14:10 Go to previous message
Eclipse UserFriend
Sorry,
i forgot to add that i am using Eclipse 3.0.2.

Thanks
Harald
Previous Topic:Controls not visible inside selection listener.
Next Topic:Workspace, Project Files, and Metadata
Goto Forum:
  


Current Time: Sat Jul 26 19:30:09 EDT 2025

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

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

Back to the top