Table and Combo boxes in GTK versus Windows [message #447580] |
Tue, 14 December 2004 23:15  |
Eclipse User |
|
|
|
Originally posted by: cmedina.sisgraf.com
I have a program with two classes, one of which is a wrapper to an API
and the other is the Main GUI. I am seeing two problems:
1- The Main GUI brings up a Shell which gets passed onto a method of the
wrapper which returns a Table widget populated with the results from a
query.
This Table looks and works fine in Windows, but when I ran in RedHat with
the GTK
SWT implementation, it only shows 1 row. Table Items are being created
inside
a for loop with the appropriate data for each column.
2- Part of the Main GUI will show two Combo widgets. Each widget gets
populated
with a String array returned from a call to a different method in the
wrapper
class. But when I click on the arrows to look at the drop down list, they
only
show one item instead of the few dozen that I'm expecting. I have other
Combo
boxes in the Main that work correctly, the only difference being that they
are
not constructed with SWT.READ_ONLY, all other params (except for content of
course) are the same.
Has anyone run into this before? is there someone that could help me shine
a
light onto this situation?
Thank you very much for your help.
|
|
|
|
Re: Table and Combo boxes in GTK versus Windows [message #447633 is a reply to message #447580] |
Wed, 15 December 2004 11:17  |
Eclipse User |
|
|
|
Cristian, this sounds like multiple bugs. In order for anyone to do
anything about it, you'll need to construct a stand alone snippet that
demonstrates the problem(s). Post them here or enter a buzilla report and
someone will look into it.
"Cristian Medina" <cmedina@sisgraf.com> wrote in message
news:cpodor$p42$1@www.eclipse.org...
> I have a program with two classes, one of which is a wrapper to an API
> and the other is the Main GUI. I am seeing two problems:
>
> 1- The Main GUI brings up a Shell which gets passed onto a method of the
> wrapper which returns a Table widget populated with the results from a
> query.
> This Table looks and works fine in Windows, but when I ran in RedHat with
> the GTK
> SWT implementation, it only shows 1 row. Table Items are being created
> inside
> a for loop with the appropriate data for each column.
>
> 2- Part of the Main GUI will show two Combo widgets. Each widget gets
> populated
> with a String array returned from a call to a different method in the
> wrapper
> class. But when I click on the arrows to look at the drop down list, they
> only
> show one item instead of the few dozen that I'm expecting. I have other
> Combo
> boxes in the Main that work correctly, the only difference being that they
> are
> not constructed with SWT.READ_ONLY, all other params (except for content
of
> course) are the same.
>
>
> Has anyone run into this before? is there someone that could help me shine
> a
> light onto this situation?
>
>
> Thank you very much for your help.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03902 seconds