Multiline OptionGroup issue in Vaadin7


I was in need to display the optiongroup text be split into multi lines.
So, when i was searching i found this link and helped me a lot.

OptionGroup Multiline

This works fine in vaadin 6. Currently i am migrating my project to vaadin 7.
But that css solution is not working. Instead the long text is displayed beyond my screen by enabling auto scrollbar.

Now how can i display the text in an option group be split into multiple lines in vaadin 7?

Note : I’m adding optiongroup in GridLayout.

Thanks in advance,