Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Anyone seen this with preference pages
Anyone seen this with preference pages [message #455607] Wed, 18 May 2005 15:23 Go to next message
Mark Victory is currently offline Mark VictoryFriend
Messages: 133
Registered: July 2009
Senior Member
I have 3 pref. pages in my app.
If the main preference page is the first to display then all is well - see
GoodLayout.gif
If, however, the user closes the preferences dialog with the 2nd or 3rd page
showing then the next time the preferences are displayed, that page will
display first. If the user then switches to the main preference page, the
layout is wrong - see BadLayout.gif.

Why does the page layout behave differently under the two circumstances.

Thanks,
Mark



Re: Anyone seen this with preference pages [message #455608 is a reply to message #455607] Wed, 18 May 2005 15:30 Go to previous message
Mark Victory is currently offline Mark VictoryFriend
Messages: 133
Registered: July 2009
Senior Member
Solved.

I needed to add a call to adjustGridLayout( );

Mark


"Mark Victory" <mvictory@us.ibm.com> wrote in message
news:d6fmnc$44m$1@news.eclipse.org...
>I have 3 pref. pages in my app.
> If the main preference page is the first to display then all is well - see
> GoodLayout.gif
> If, however, the user closes the preferences dialog with the 2nd or 3rd
> page showing then the next time the preferences are displayed, that page
> will display first. If the user then switches to the main preference
> page, the layout is wrong - see BadLayout.gif.
>
> Why does the page layout behave differently under the two circumstances.
>
> Thanks,
> Mark
>
>
Previous Topic:dll/so in swt.jar
Next Topic:Missing SWT.*
Goto Forum:
  


Current Time: Sat Apr 27 03:02:02 GMT 2024

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

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

Back to the top