Hi,
We are using an EditorSearchView control in a floating toolwidow for our find and replace view and everything is working fine except we are running into a little problem with resizing the tool window to fit the EditorSearchView control when the Quick Replace button is clicked (Default state is Quick Find).
To see this in action run your QuickStart\SearchCustomPatternProvider tear off the toolwindow and let it float, re-size the toolwindow to the Quick Find mode so that the Find Next button is visible. Now click the Quick Replace button to switch modes and the toolwindow does not automatically re-size to the EditorSearchControl but adds a vertical scroll bar to enable the user to bring the Quick Replace buttons into view.
My questions is, after a lot of testing, how can I programmatically re-size the toolwindow to fit the EditorSearchView control based on user selection so that no matter what mode is selected all applicable buttons are always in view without the need to display a vertical scroll bar or the user has to manually re-size the toolwindow?
Thanks.
We are using an EditorSearchView control in a floating toolwidow for our find and replace view and everything is working fine except we are running into a little problem with resizing the tool window to fit the EditorSearchView control when the Quick Replace button is clicked (Default state is Quick Find).
To see this in action run your QuickStart\SearchCustomPatternProvider tear off the toolwindow and let it float, re-size the toolwindow to the Quick Find mode so that the Find Next button is visible. Now click the Quick Replace button to switch modes and the toolwindow does not automatically re-size to the EditorSearchControl but adds a vertical scroll bar to enable the user to bring the Quick Replace buttons into view.
My questions is, after a lot of testing, how can I programmatically re-size the toolwindow to fit the EditorSearchView control based on user selection so that no matter what mode is selected all applicable buttons are always in view without the need to display a vertical scroll bar or the user has to manually re-size the toolwindow?
Thanks.