Just use the constants defined in HasVerticalAlignment.

horizontalPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_TOP)

-- J.

Am Montag, 26. März 2012 22:12:24 UTC+2 schrieb dhoffer:
>
> GWT 2.4.  Why are VerticalAlignmentConstant fields package private in 
> HasVerticalAlignment and constructor is private?  This makes it 
> impossible to use in other packages such as 
> HorizontalPanel#setVerticalAlignment() or am I missing something?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/AbZFXoqoL3kJ.
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