Set Controls with arbitrary positions on CTabItem

Posted by Daziplqa on Stack Overflow See other posts from Stack Overflow or by Daziplqa
Published on 2010-06-15T01:13:11Z Indexed on 2010/06/15 1:22 UTC
Read the original article Hit count: 186

Filed under:
|
|

Hi Guyz,

I am new to GWT, and I need to set the controls positions arbitrary on CTabItem.

I've used the following code, but it seems that it had no positioning effect, it just add the component to (0, 0)

Label userName = new Label(folder, SWT.NONE);
userName.setText("username");
userName.setBounds(10, 200, 200, 50);
item.setControl(userName);

© Stack Overflow or respective owner

Related posts about gwt

Related posts about setbounds