Home » Eclipse Projects » Nebula » CTableTree limited to 2048 rows?
| |
Re: CTableTree limited to 2048 rows? [message #14556 is a reply to message #14528] |
Wed, 18 October 2006 11:35 |
Asgeir Frimannsson Messages: 11 Registered: July 2009 |
Junior Member |
|
|
Hi Jeremy,
Here's a simple snipplet reproducing this:
CTableTree ctt =
new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
column1.setText("Column 1");
column1.setWidth(200);
for (int i = 0; i < 2050; i++) {
CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
item.setText(new String[] { "item " + i});
}
I'm using nebula from eclipse cvs head.
cheers,
asgeir
Jeremy Dowdall wrote:
> I'm not able to reproduce this on Linux GTK so it may be a bug on the
> Windows implementation - can you post a snippet showing this problem?
>
> Asgeir Frimannsson wrote:
>> Hi all,
>>
>> I'm trying to use a CTableTree (with the experimental viewer) to
>> display a tree from an EMF model. However, I'm unable to display more
>> than 2048 rows in the table. The remaining rows are simply greyed out,
>> as shown on this screenshot (modified snipplet to display 2050 rows):
>>
>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>
>> Does anyone know why that is so?
>>
>> cheers,
>> asgeir
|
|
|
Re: CTableTree limited to 2048 rows? [message #14585 is a reply to message #14556] |
Wed, 18 October 2006 14:08 |
Jeremy Dowdall Messages: 181 Registered: July 2009 |
Senior Member |
|
|
Chris Gross gave this insight:
> I believe this is a result of using a ScrolledComposite. Widgets have
> size limit on Win and the way ScrolledComposite works requires that
> the inner content size to its full necessary height. So if the size
> of that inner content can only be as large as the Win limit (which I
> think is like 32k pixels but I can't remember). Fixing this problem
> will likely require significant changes to remove the use of
> ScrolledComposite and scroll differently.
Please log a bug for this with [WIN32] in the title. Thanks.
Asgeir Frimannsson wrote:
> Hi Jeremy,
>
> Here's a simple snipplet reproducing this:
>
> CTableTree ctt =
> new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
> CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
> column1.setText("Column 1");
> column1.setWidth(200);
>
> for (int i = 0; i < 2050; i++) {
> CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
> item.setText(new String[] { "item " + i});
> }
>
> I'm using nebula from eclipse cvs head.
>
> cheers,
> asgeir
>
>
> Jeremy Dowdall wrote:
>> I'm not able to reproduce this on Linux GTK so it may be a bug on the
>> Windows implementation - can you post a snippet showing this problem?
>>
>> Asgeir Frimannsson wrote:
>>> Hi all,
>>>
>>> I'm trying to use a CTableTree (with the experimental viewer) to
>>> display a tree from an EMF model. However, I'm unable to display more
>>> than 2048 rows in the table. The remaining rows are simply greyed
>>> out, as shown on this screenshot (modified snipplet to display 2050
>>> rows):
>>>
>>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>>
>>> Does anyone know why that is so?
>>>
>>> cheers,
>>> asgeir
|
|
|
Re: CTableTree limited to 2048 rows? [message #14615 is a reply to message #14585] |
Thu, 19 October 2006 07:49 |
Asgeir Frimannsson Messages: 11 Registered: July 2009 |
Junior Member |
|
|
Submitted bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=161518
cheers,
asgeir
Jeremy Dowdall wrote:
> Chris Gross gave this insight:
> > I believe this is a result of using a ScrolledComposite. Widgets have
> > size limit on Win and the way ScrolledComposite works requires that
> > the inner content size to its full necessary height. So if the size
> > of that inner content can only be as large as the Win limit (which I
> > think is like 32k pixels but I can't remember). Fixing this problem
> > will likely require significant changes to remove the use of
> > ScrolledComposite and scroll differently.
>
>
> Please log a bug for this with [WIN32] in the title. Thanks.
>
>
> Asgeir Frimannsson wrote:
>> Hi Jeremy,
>>
>> Here's a simple snipplet reproducing this:
>>
>> CTableTree ctt =
>> new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
>> CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
>> column1.setText("Column 1");
>> column1.setWidth(200);
>>
>> for (int i = 0; i < 2050; i++) {
>> CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
>> item.setText(new String[] { "item " + i});
>> }
>>
>> I'm using nebula from eclipse cvs head.
>>
>> cheers,
>> asgeir
>>
>>
>> Jeremy Dowdall wrote:
>>> I'm not able to reproduce this on Linux GTK so it may be a bug on the
>>> Windows implementation - can you post a snippet showing this problem?
>>>
>>> Asgeir Frimannsson wrote:
>>>> Hi all,
>>>>
>>>> I'm trying to use a CTableTree (with the experimental viewer) to
>>>> display a tree from an EMF model. However, I'm unable to display
>>>> more than 2048 rows in the table. The remaining rows are simply
>>>> greyed out, as shown on this screenshot (modified snipplet to
>>>> display 2050 rows):
>>>>
>>>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>>>
>>>> Does anyone know why that is so?
>>>>
>>>> cheers,
>>>> asgeir
|
|
| |
Re: CTableTree limited to 2048 rows? [message #566800 is a reply to message #14528] |
Wed, 18 October 2006 11:35 |
Asgeir Frimannsson Messages: 11 Registered: July 2009 |
Junior Member |
|
|
Hi Jeremy,
Here's a simple snipplet reproducing this:
CTableTree ctt =
new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
column1.setText("Column 1");
column1.setWidth(200);
for (int i = 0; i < 2050; i++) {
CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
item.setText(new String[] { "item " + i});
}
I'm using nebula from eclipse cvs head.
cheers,
asgeir
Jeremy Dowdall wrote:
> I'm not able to reproduce this on Linux GTK so it may be a bug on the
> Windows implementation - can you post a snippet showing this problem?
>
> Asgeir Frimannsson wrote:
>> Hi all,
>>
>> I'm trying to use a CTableTree (with the experimental viewer) to
>> display a tree from an EMF model. However, I'm unable to display more
>> than 2048 rows in the table. The remaining rows are simply greyed out,
>> as shown on this screenshot (modified snipplet to display 2050 rows):
>>
>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>
>> Does anyone know why that is so?
>>
>> cheers,
>> asgeir
|
|
|
Re: CTableTree limited to 2048 rows? [message #566824 is a reply to message #14556] |
Wed, 18 October 2006 14:08 |
Jeremy Dowdall Messages: 181 Registered: July 2009 |
Senior Member |
|
|
Chris Gross gave this insight:
> I believe this is a result of using a ScrolledComposite. Widgets have
> size limit on Win and the way ScrolledComposite works requires that
> the inner content size to its full necessary height. So if the size
> of that inner content can only be as large as the Win limit (which I
> think is like 32k pixels but I can't remember). Fixing this problem
> will likely require significant changes to remove the use of
> ScrolledComposite and scroll differently.
Please log a bug for this with [WIN32] in the title. Thanks.
Asgeir Frimannsson wrote:
> Hi Jeremy,
>
> Here's a simple snipplet reproducing this:
>
> CTableTree ctt =
> new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
> CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
> column1.setText("Column 1");
> column1.setWidth(200);
>
> for (int i = 0; i < 2050; i++) {
> CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
> item.setText(new String[] { "item " + i});
> }
>
> I'm using nebula from eclipse cvs head.
>
> cheers,
> asgeir
>
>
> Jeremy Dowdall wrote:
>> I'm not able to reproduce this on Linux GTK so it may be a bug on the
>> Windows implementation - can you post a snippet showing this problem?
>>
>> Asgeir Frimannsson wrote:
>>> Hi all,
>>>
>>> I'm trying to use a CTableTree (with the experimental viewer) to
>>> display a tree from an EMF model. However, I'm unable to display more
>>> than 2048 rows in the table. The remaining rows are simply greyed
>>> out, as shown on this screenshot (modified snipplet to display 2050
>>> rows):
>>>
>>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>>
>>> Does anyone know why that is so?
>>>
>>> cheers,
>>> asgeir
|
|
|
Re: CTableTree limited to 2048 rows? [message #566845 is a reply to message #14585] |
Thu, 19 October 2006 07:49 |
Asgeir Frimannsson Messages: 11 Registered: July 2009 |
Junior Member |
|
|
Submitted bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=161518
cheers,
asgeir
Jeremy Dowdall wrote:
> Chris Gross gave this insight:
> > I believe this is a result of using a ScrolledComposite. Widgets have
> > size limit on Win and the way ScrolledComposite works requires that
> > the inner content size to its full necessary height. So if the size
> > of that inner content can only be as large as the Win limit (which I
> > think is like 32k pixels but I can't remember). Fixing this problem
> > will likely require significant changes to remove the use of
> > ScrolledComposite and scroll differently.
>
>
> Please log a bug for this with [WIN32] in the title. Thanks.
>
>
> Asgeir Frimannsson wrote:
>> Hi Jeremy,
>>
>> Here's a simple snipplet reproducing this:
>>
>> CTableTree ctt =
>> new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
>> CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
>> column1.setText("Column 1");
>> column1.setWidth(200);
>>
>> for (int i = 0; i < 2050; i++) {
>> CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
>> item.setText(new String[] { "item " + i});
>> }
>>
>> I'm using nebula from eclipse cvs head.
>>
>> cheers,
>> asgeir
>>
>>
>> Jeremy Dowdall wrote:
>>> I'm not able to reproduce this on Linux GTK so it may be a bug on the
>>> Windows implementation - can you post a snippet showing this problem?
>>>
>>> Asgeir Frimannsson wrote:
>>>> Hi all,
>>>>
>>>> I'm trying to use a CTableTree (with the experimental viewer) to
>>>> display a tree from an EMF model. However, I'm unable to display
>>>> more than 2048 rows in the table. The remaining rows are simply
>>>> greyed out, as shown on this screenshot (modified snipplet to
>>>> display 2050 rows):
>>>>
>>>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>>>
>>>> Does anyone know why that is so?
>>>>
>>>> cheers,
>>>> asgeir
|
|
|
Goto Forum:
Current Time: Sat Apr 20 03:01:22 GMT 2024
Powered by FUDForum. Page generated in 0.03491 seconds
|