Heiko
(Heiko Pitzer)
October 26, 2010, 7:37am
1
Hello,
is there a way to position a “Label” in Vaadin on the right top of a Window - other than using a Grid Layout?
I would like to show the “Label” always on the right top of the window no matter what resolution the desktop or what size the Browser windows has.
Thank you for your help.
Xavier
(Xavier Pan)
October 26, 2010, 11:01am
2
You could use VerticalLayout or HorizontalLayout and the method setComponentAlignment(label, Alignment.TOP_LEFT);
Jouni1
(Jouni Koivuviita)
October 26, 2010, 1:13pm
3
Or you could use AbsoluteLayout.
Heiko
(Heiko Pitzer)
October 29, 2010, 3:36am
4
Hi Jouni,
I ended up using your PanelLayout. This is so much easier to design the layout I wanted.
Thank you for the nice module.
-_-
Jouni1
(Jouni Koivuviita)
October 29, 2010, 8:40am
5
No problem, you’re welcome! Glad I can help
But could you clarify, what “PanelLayout” do you mean? I’ve yet to find such a component in Vaadin
I’ve only done DashLayout and WeeLayout add-ons, which are available in the add-ons Directory.