Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » swt 3.0 gtk bug: table header disappearing
swt 3.0 gtk bug: table header disappearing [message #438918] Sat, 03 July 2004 14:28 Go to next message
Eclipse UserFriend
Originally posted by: john.rmts.donpac.ru

Hi,

Is it known bug?

public class App {

public static void main(String[] args) {

Shell shell = new Shell (Display.getDefault(), SWT.SHELL_TRIM);
shell.setLayout (new FillLayout ());

CTabFolder tabFolder = new CTabFolder(shell, SWT.BORDER |
SWT.BOTTOM);
for (int i=0;i<2;i++){
CTabItem tab = new CTabItem(tabFolder, SWT.NONE);
tab.setText("Tab 1");
Table table = new Table(tabFolder, SWT.NONE);
table.setHeaderVisible (true);
table.setLinesVisible(true);
for (int j=0;j<3;j++) {
final TableColumn tableColumn = new TableColumn(table, SWT.NONE);
tableColumn.setText("Column "+j);
tableColumn.setWidth(50);
}
table.pack();
tab.setControl(table);
}

Display display = Display.getCurrent();
shell.open();
while (!shell.isDisposed())
if (!display.readAndDispatch())
display.sleep();

display.dispose();
}
}

After clicking more than 3 times on tab control pages table header
disappered. Table header appear after mouse over it.
Re: swt 3.0 gtk bug: table header disappearing [message #438988 is a reply to message #438918] Mon, 05 July 2004 16:40 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
I've logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=69304 and tried to
add you as a CC, but bugzilla did not know your address.

Grant

"Eugene Prokopiev" <john@rmts.donpac.ru> wrote in message
news:cc6fko$9bd$1@eclipse.org...
> Hi,
>
> Is it known bug?
>
> public class App {
>
> public static void main(String[] args) {
>
> Shell shell = new Shell (Display.getDefault(), SWT.SHELL_TRIM);
> shell.setLayout (new FillLayout ());
>
> CTabFolder tabFolder = new CTabFolder(shell, SWT.BORDER |
> SWT.BOTTOM);
> for (int i=0;i<2;i++){
> CTabItem tab = new CTabItem(tabFolder, SWT.NONE);
> tab.setText("Tab 1");
> Table table = new Table(tabFolder, SWT.NONE);
> table.setHeaderVisible (true);
> table.setLinesVisible(true);
> for (int j=0;j<3;j++) {
> final TableColumn tableColumn = new TableColumn(table, SWT.NONE);
> tableColumn.setText("Column "+j);
> tableColumn.setWidth(50);
> }
> table.pack();
> tab.setControl(table);
> }
>
> Display display = Display.getCurrent();
> shell.open();
> while (!shell.isDisposed())
> if (!display.readAndDispatch())
> display.sleep();
>
> display.dispose();
> }
> }
>
> After clicking more than 3 times on tab control pages table header
> disappered. Table header appear after mouse over it.
>
Re: swt 3.0 gtk bug: table header disappearing [message #439112 is a reply to message #438988] Tue, 06 July 2004 05:03 Go to previous message
Eclipse UserFriend
Originally posted by: john.rmts.donpac.ru

Grant Gayed пишет:
> I've logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=69304 and tried to
> add you as a CC, but bugzilla did not know your address.

Thank you. I'm not registered in bugzilla now.
Previous Topic:AutoScroll
Next Topic:jface table viewer (columns and content)
Goto Forum:
  


Current Time: Sat Sep 21 04:12:09 GMT 2024

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

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

Back to the top