Adding fixed-sized columns to Table doesn't work

Hello all, I am trying to add some columns with fixed width to com.vaadin.ui.Table. When I do this during the initialization of the UI, everything is fine and the columns have desired width, but when I do this for example on button click, the columns are sized to fill the entire width of the table. The table is set to have full size (100% height and width). I have my table initialized like this:

table = new Table();
table.setColumnReorderingAllowed(true);
table.setSizeFull();

The code that is supposed to add the columns to table looks like this:

table.setContainerDataSource(new IndexedContainer());
table.addContainerProperty("prop1", String.class, null);
table.addContainerProperty("prop2", String.class, null);
table.addItem("1");
table.getContainerProperty("1", "prop1").setValue("foo");
table.getContainerProperty("1", "prop2").setValue("bar");
table.setColumnWidth("prop1", 250);
table.setColumnWidth("prop2", 100);

If I put this code into the init section of the UI class (after the initialization of the table of course), the columns have the desired width (as in attachment tableColumnsRight.png), but when I run this code for example in a ClickListener, that is attached to a Button, the added columns have width to span the entire width of the table (as in attachment tableColumnsWrong.png).

Is this a bug or am I missing something important here? Thank you very much for your answers!
13073.png
13074.png

sounds like a bug; can you file a ticket with a minimal test application to
dev.vaadin.com
, please?

Thank you for your reply. The ticket has been submitted as http://dev.vaadin.com/ticket/12138