Hi,

The following is part of my host file.
<table align="center">
<tr>
<td id="main"></td>
</tr>
</table>

HorizontalPanel hpanel = new HorizontalPanel();
hpanel.add(button);
hpanel.setHorizontalAlignment(ALIGN_CENTER);
Root.get("main").add(hpanel); 

The alignment is always dominating by the setting of the html host file; So 
from above, the button in hpanel is aligning on the left instead of the center. 
How can I make the setHorizontalAlignment effective again?

Thanks
Ming


      

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to