Set properties in constructor of SimplePanel