Prat
(Prat Mishra)
January 29, 2017, 4:30am
1
Hi
I was trying out the Gird Component. I wanted to add the Grid component to Vaadin Dashboard Example. However, I’m facing layout problems with it.
Attached is the screenshot of the layout. What am I doing wrong here? I tried setSizeFull with both the VerticalLayout and Grid. Doesn’t work.
Thanks!
ollit.1
(Olli Tietäväinen)
January 30, 2017, 12:22pm
2
Hi,
it’s hard to say from just a picture, but it looks like some of styles aren’t playing nicely. Have you tried using Chrome’s inspector to see what’s going wrong? Are other components working ok?
-Olli
Sebastien32
(Sebastien Libert)
January 30, 2017, 12:38pm
3
Hello,
In the dashboard demo there are some “optimized parts” in scss.
See “removed-grid” param :
https://github.com/vaadin/dashboard-demo/blob/7.7/src/main/webapp/VAADIN/themes/dashboard/dashboard.scss
Regards
Sebastien
Prat
(Prat Mishra)
January 30, 2017, 7:58pm
4
Thanks for reply guys. Instead of extending VerticalLayout and I extended CssLayout and it worked!