No, infatti non puoi settare ne height ne width

Lo ho messo nel code sottlineandoti nel msg che non si può