Problem with SearchDialog [message #286167] |
Fri, 03 June 2005 09:02  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.05999 seconds