added gridlayout support for 2.3