[SWTBot-users] Why SWTBot sometimes does not find widgets by label
Brought to you by:
kpadegaonkar
|
From: Hans S. <han...@ya...> - 2008-11-06 16:00:03
|
I could not find a widget by label today. Previously it found the widget by label. But the development team changed the implementation from
final Label functionalGroupLabel = new Label(selectTeardownGroup, SWT.NONE);
to:
final Composite funGpCom = new Composite(selectTeardownGroup, SWT.NONE);
funGpCom.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
funGpCom.setLayout(new GridLayout());
final Label functionalGroupLabel = new Label(funGpCom, SWT.NONE);
Could it be that this is the reason why SWTBot sometimes does not find widgets by label?
The other labels where I cannot find the widget for it are similiar implemented.
Does this give you a clue and if yes, can you please fix it?
|