Hi, I still have not found the solution ... Do you think it's a bug QGIS or a mistake in my code? Thank you again -- View this message in context: http://osgeo-org.1560.x6.nabble.com/QGIS-2-6-ui-form-window-size-tp5180053p5184969.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.