Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to fit the wizard for different resolution montiors
How to fit the wizard for different resolution montiors [message #328669] Fri, 30 May 2008 16:31 Go to next message
Eclipse UserFriend
Originally posted by: x_devan.ugs.com

Hi All,

I have created a wizard with 6 text field in it. It is working fine as
expected.
I have a desktop with 21 inch monitor and with the resolution of 2048 X
1024.

When I launch my application and invoke the wizard in a laptop (15 inch
screen with the resolution of 1680 X 1024), one of the text field is getting
hidden, i need to resize the wizard manually to see the field.

Is there a way i can automatically set the wizard size ?

Regards,
Hemanth
Re: How to fit the wizard for different resolution montiors [message #328670 is a reply to message #328669] Sat, 31 May 2008 02:39 Go to previous messageGo to next message
Eclipse UserFriend
Hemanth,

Probably you are not properly using the layout. Is it possible to share
us the wizard page code?

--

- Prakash

Eclipse Tips: http://blog.cypal-solutions.com
Eclipse Search: http://www.cypal.in/eclipsesearch

Hemanth wrote:
> Hi All,
>
> I have created a wizard with 6 text field in it. It is working fine as
> expected.
> I have a desktop with 21 inch monitor and with the resolution of 2048 X
> 1024.
>
> When I launch my application and invoke the wizard in a laptop (15 inch
> screen with the resolution of 1680 X 1024), one of the text field is
getting
> hidden, i need to resize the wizard manually to see the field.
>
> Is there a way i can automatically set the wizard size ?
>
> Regards,
> Hemanth
>
>
Re: How to fit the wizard for different resolution montiors [message #328700 is a reply to message #328670] Mon, 02 June 2008 09:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: x_devan.ugs.com

here is the extract from the wizard page code,

public void createControl( Composite parent )

{

Composite composite = new Composite( parent, SWT.NONE );

// set the layout

GridLayout layout = new GridLayout();

layout.numColumns = 3;

composite.setLayout( layout );

//Adding the fields.

....

.....

setControl( composite );

}

Regards,

Hemanth

"Prakash G.R." <grprakash@gmail.com> wrote in message
news:4840F29B.4090905@gmail.com...
> Hemanth,
>
> Probably you are not properly using the layout. Is it possible to share us
> the wizard page code?
>
> --
>
> - Prakash
>
> Eclipse Tips: http://blog.cypal-solutions.com
> Eclipse Search: http://www.cypal.in/eclipsesearch
>
> Hemanth wrote:
> > Hi All,
> >
> > I have created a wizard with 6 text field in it. It is working fine as
> > expected.
> > I have a desktop with 21 inch monitor and with the resolution of 2048 X
> > 1024.
> >
> > When I launch my application and invoke the wizard in a laptop (15 inch
> > screen with the resolution of 1680 X 1024), one of the text field is
> getting
> > hidden, i need to resize the wizard manually to see the field.
> >
> > Is there a way i can automatically set the wizard size ?
> >
> > Regards,
> > Hemanth
> >
> >
Re: How to fit the wizard for different resolution montiors [message #328712 is a reply to message #328700] Mon, 02 June 2008 12:41 Go to previous message
Eclipse UserFriend
Are you setting any layout data to the text controls? Something like:
new GridData(SWT.FILL, SWT.NONE, true, false)?

--

- Prakash

www.eclipse-tips.com


Hemanth wrote:
> here is the extract from the wizard page code,
>
> public void createControl( Composite parent )
>
> {
>
> Composite composite = new Composite( parent, SWT.NONE );
>
> // set the layout
>
> GridLayout layout = new GridLayout();
>
> layout.numColumns = 3;
>
> composite.setLayout( layout );
>
> //Adding the fields.
>
> ....
>
> .....
>
> setControl( composite );
>
> }
>
> Regards,
>
> Hemanth
>
> "Prakash G.R." <grprakash@gmail.com> wrote in message
> news:4840F29B.4090905@gmail.com...
>> Hemanth,
>>
>> Probably you are not properly using the layout. Is it possible to share us
>> the wizard page code?
>>
>> --
>>
>> - Prakash
>>
>> Eclipse Tips: http://blog.cypal-solutions.com
>> Eclipse Search: http://www.cypal.in/eclipsesearch
>>
>> Hemanth wrote:
>>> Hi All,
>>>
>>> I have created a wizard with 6 text field in it. It is working fine as
>>> expected.
>>> I have a desktop with 21 inch monitor and with the resolution of 2048 X
>>> 1024.
>>>
>>> When I launch my application and invoke the wizard in a laptop (15 inch
>>> screen with the resolution of 1680 X 1024), one of the text field is
>> getting
>>> hidden, i need to resize the wizard manually to see the field.
>>>
>>> Is there a way i can automatically set the wizard size ?
>>>
>>> Regards,
>>> Hemanth
>>>
>>>
>
>
Previous Topic:Re: RC3 wont start on Ubuntu: XPCOM Mozilla error
Next Topic:importing the javaeditor example
Goto Forum:
  


Current Time: Sat May 10 14:39:22 EDT 2025

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

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

Back to the top