Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Grid Layout issue
Grid Layout issue [message #93776] Mon, 13 June 2005 19:31 Go to next message
Eclipse UserFriend
Originally posted by: kevin.payne.metago.net

I just did a clean install VE 1.1M2 and all supporting requirements
(Eclipse 3.1RC1, etc). I am trying to go through the new 1.1 M2 Overview.


I can create the new addressView class, set the layout to grid, and add
the lables and text fields. However, when I open the Customize Layout
window and try to set the Number of columns, it only increments in odd
numbers (1,3,5,7 etc), where the tutorial says to set it to 6. The window
will not accept an even number of columns, and if I set it to 6 in the
code, the VE quits displaying the components.

This is my first time working with VE so I don't know if this is a problem
or something I am missing. Can someone tell me how to set an even number
of columns in a grid layout?

Kevin
Re: Grid Layout issue [message #93894 is a reply to message #93776] Mon, 13 June 2005 21:50 Go to previous messageGo to next message
Peter Walker is currently offline Peter WalkerFriend
Messages: 124
Registered: July 2009
Senior Member
Kevin,
I just tried the same scenario creating the AddressView with dropping several
labels and text fields. Using the Customize Layout window, I set the Number of
Columns to six and hit enter. Everything worked fine. I was also able to
increment and decrement the Number of columns by one using the spinner in the
Customize Layout window.

Was there any errors in the .log file in your .metadata directory

You may want to try a Project-->Clean... this will clear the cache for this
class and project.

Also... what JRE are using? The pre-req for using SWT is JRE 1.4.2.

Regards...

Peter Walker
VE Development


Kevin Payne wrote:
> I just did a clean install VE 1.1M2 and all supporting requirements
> (Eclipse 3.1RC1, etc). I am trying to go through the new 1.1 M2 Overview.
>
> I can create the new addressView class, set the layout to grid, and add
> the lables and text fields. However, when I open the Customize Layout
> window and try to set the Number of columns, it only increments in odd
> numbers (1,3,5,7 etc), where the tutorial says to set it to 6. The
> window will not accept an even number of columns, and if I set it to 6
> in the code, the VE quits displaying the components.
>
> This is my first time working with VE so I don't know if this is a
> problem or something I am missing. Can someone tell me how to set an
> even number of columns in a grid layout?
>
> Kevin
>
Re: Grid Layout issue [message #94074 is a reply to message #93894] Wed, 15 June 2005 17:26 Go to previous message
Eclipse UserFriend
Originally posted by: kevin.payne.metago.net

After playing with this for a while and trying a lot of different things,
including different JVM versions, different eclipse versions, re-installs,
etc., I always get the same result. I finally loaded eclipse RC1 and VE on
a windows machine and everything worked fine.

For the record, I'm using Suse 9.1, with
eclipse-SDK-3.1RC1-linux-gtk.tar.gz. (I also tried the motif version, but
VE threw some NullPointer exceptions as soon as I created a new View
class.)

So, can someone out there with a similar linux setup confirm that they can
increment the Number of columns for a Gird layout by one using the
Customize View window. I don't see how this could be a configuration issue
(but I'm open to suggestions), so I'd like to confirm if its a bug or not.

Thanks,
Kevin

P.S. There are no errors in my .metadata/.log file.


Peter Walker wrote:

> Kevin,
> I just tried the same scenario creating the AddressView with dropping
> several labels and text fields. Using the Customize Layout window, I set
> the Number of Columns to six and hit enter. Everything worked fine. I was
> also able to increment and decrement the Number of columns by one using
> the spinner in the Customize Layout window.
>
> Was there any errors in the .log file in your .metadata directory
>
> You may want to try a Project-->Clean... this will clear the cache for
> this class and project.
>
> Also... what JRE are using? The pre-req for using SWT is JRE 1.4.2.
>
> Regards...
>
> Peter Walker
> VE Development
>
>
> Kevin Payne wrote:
>> I just did a clean install VE 1.1M2 and all supporting requirements
>> (Eclipse 3.1RC1, etc). I am trying to go through the new 1.1 M2
>> Overview.
>>
>> I can create the new addressView class, set the layout to grid, and add
>> the lables and text fields. However, when I open the Customize Layout
>> window and try to set the Number of columns, it only increments in odd
>> numbers (1,3,5,7 etc), where the tutorial says to set it to 6. The
>> window will not accept an even number of columns, and if I set it to 6
>> in the code, the VE quits displaying the components.
>>
>> This is my first time working with VE so I don't know if this is a
>> problem or something I am missing. Can someone tell me how to set an
>> even number of columns in a grid layout?
>>
>> Kevin
>>
Re: Grid Layout issue [message #607949 is a reply to message #93776] Mon, 13 June 2005 21:50 Go to previous message
Peter Walker is currently offline Peter WalkerFriend
Messages: 124
Registered: July 2009
Senior Member
Kevin,
I just tried the same scenario creating the AddressView with dropping several
labels and text fields. Using the Customize Layout window, I set the Number of
Columns to six and hit enter. Everything worked fine. I was also able to
increment and decrement the Number of columns by one using the spinner in the
Customize Layout window.

Was there any errors in the .log file in your .metadata directory

You may want to try a Project-->Clean... this will clear the cache for this
class and project.

Also... what JRE are using? The pre-req for using SWT is JRE 1.4.2.

Regards...

Peter Walker
VE Development


Kevin Payne wrote:
> I just did a clean install VE 1.1M2 and all supporting requirements
> (Eclipse 3.1RC1, etc). I am trying to go through the new 1.1 M2 Overview.
>
> I can create the new addressView class, set the layout to grid, and add
> the lables and text fields. However, when I open the Customize Layout
> window and try to set the Number of columns, it only increments in odd
> numbers (1,3,5,7 etc), where the tutorial says to set it to 6. The
> window will not accept an even number of columns, and if I set it to 6
> in the code, the VE quits displaying the components.
>
> This is my first time working with VE so I don't know if this is a
> problem or something I am missing. Can someone tell me how to set an
> even number of columns in a grid layout?
>
> Kevin
>
Re: Grid Layout issue [message #607961 is a reply to message #93894] Wed, 15 June 2005 17:26 Go to previous message
Eclipse UserFriend
Originally posted by: kevin.payne.metago.net

After playing with this for a while and trying a lot of different things,
including different JVM versions, different eclipse versions, re-installs,
etc., I always get the same result. I finally loaded eclipse RC1 and VE on
a windows machine and everything worked fine.

For the record, I'm using Suse 9.1, with
eclipse-SDK-3.1RC1-linux-gtk.tar.gz. (I also tried the motif version, but
VE threw some NullPointer exceptions as soon as I created a new View
class.)

So, can someone out there with a similar linux setup confirm that they can
increment the Number of columns for a Gird layout by one using the
Customize View window. I don't see how this could be a configuration issue
(but I'm open to suggestions), so I'd like to confirm if its a bug or not.

Thanks,
Kevin

P.S. There are no errors in my .metadata/.log file.


Peter Walker wrote:

> Kevin,
> I just tried the same scenario creating the AddressView with dropping
> several labels and text fields. Using the Customize Layout window, I set
> the Number of Columns to six and hit enter. Everything worked fine. I was
> also able to increment and decrement the Number of columns by one using
> the spinner in the Customize Layout window.
>
> Was there any errors in the .log file in your .metadata directory
>
> You may want to try a Project-->Clean... this will clear the cache for
> this class and project.
>
> Also... what JRE are using? The pre-req for using SWT is JRE 1.4.2.
>
> Regards...
>
> Peter Walker
> VE Development
>
>
> Kevin Payne wrote:
>> I just did a clean install VE 1.1M2 and all supporting requirements
>> (Eclipse 3.1RC1, etc). I am trying to go through the new 1.1 M2
>> Overview.
>>
>> I can create the new addressView class, set the layout to grid, and add
>> the lables and text fields. However, when I open the Customize Layout
>> window and try to set the Number of columns, it only increments in odd
>> numbers (1,3,5,7 etc), where the tutorial says to set it to 6. The
>> window will not accept an even number of columns, and if I set it to 6
>> in the code, the VE quits displaying the components.
>>
>> This is my first time working with VE so I don't know if this is a
>> problem or something I am missing. Can someone tell me how to set an
>> even number of columns in a grid layout?
>>
>> Kevin
>>
Previous Topic:VE design of RCP Wizard pages (ve 3.1M2)
Next Topic:Problem in initialization of VE in Eclipse
Goto Forum:
  


Current Time: Tue Apr 23 10:31:35 GMT 2024

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

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

Back to the top