How to fit the wizard for different resolution montiors [message #328669] |
Fri, 30 May 2008 16:31  |
Eclipse User |
|
|
|
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 #328712 is a reply to message #328700] |
Mon, 02 June 2008 12:41  |
Eclipse User |
|
|
|
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
>>>
>>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07535 seconds