No scrolling in the panel

Hello

I’ve build application and have only one problem left.

I can not get Panel to scrolling while I add labels into panel dynamically…

Can anyone help me. Thank you

my code:

public class Objave {
	ArrayList<Component> objave = new ArrayList<Component>();
	ArrayList<Objava> izbaze = new ArrayList<Objava>();
	private static final ThemeResource ICON = new ThemeResource("../runo/icons/16/document-add.png");
	MySQLAccess dao = new MySQLAccess();
	final VerticalLayout  objavaPanel = new VerticalLayout ();
	Panel mainObjava = new Panel();
	

	public com.vaadin.ui.Component ObjavaTab() {
		


		
		objavaPanel.setSizeFull();


		Button novaObjava = new Button("Nova objava");
		novaObjava.setIcon(ICON);

		novaObjava.addListener(new Button.ClickListener() {

			private static final long serialVersionUID = 1L;

			@Override
			public void buttonClick(ClickEvent event) {

				EditWindow edit = new EditWindow();
				Window okno = edit.okno();
				okno.center();
				
				Tko_litijaApplication.mainWindow.getWindow().addWindow(okno);
				
			
			}
		});

		mainObjava.addComponent(novaObjava);
//		mainObjava.setComponentAlignment(novaObjava, Alignment.TOP_RIGHT);
		mainObjava.addComponent(objavaPanel);
		
		osveziPodatke();
		
		
		
		return mainObjava;
	}
	
	public void osveziPodatke()
	{
	
		
		try 
		{
			izbaze = dao.readDataBase();
		} 
		catch (Exception e) 
		{
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		for(int i = izbaze.size()-1; i >= 0; i--)
			objavaPanel.addComponent(new KomponentaObjave().ObjavaKomponenta(izbaze.get(i)));
		

	}
}

OK. My web page is here.

If you go on twitter tab, and click refresh I would like to have scrolling, but i dont

can you please help me

[url=http://tkolitija.javaprovider.net/tkolitija/]

MY PAGE
[/url]

objavaPanel.setSizeFull(); will make the layout 100% high, and hence the layout will clip any overflowing content inside it, making the Panel have nothing to scroll to.

Remove the setSizeFull call from your layout and it should be fine.