How to make button grid resize to fit screen?
问题 I took this code from another question and now I'm trying to get the four buttons to fill the entire window. Nothing that I do seems to have an affect. The fullscreen: true option seems to always be ignored. What's the trick to know you need to adjust the layout so that it takes all the vertical space? Ideally, I'd like this solution to work for a 3x3 button layout too. app.js Ext.application({ launch: function() { var view = Ext.create('Ext.Container', { // fullscreen: true, layout: { type: