Project: titanium
Issue TIMOB-19143: Windows: Button does not size correctly
When creating a button and specifying its width and height to create a square the displayed button does not respect the size set and looks rectangular. *EXAMPLE* {code} var win = Ti.UI.createWindow({ backgroundColor: 'blue' }); var viewA = Ti.UI.createTextField({ top: '5dp', width: '20dp', height: '20dp' }); var viewB = Ti.UI.createView({ backgroundColor: 'white', top: '35dp', width: '20dp', height: '20dp' }); var viewC = Ti.UI.createButton({ top: '55dp', width: '20dp', height: '20dp' }); win.add(viewA); win.add(viewB); win.add(viewC); win.open(); {code}
Story points: 8