[TIMOB-5253] iOS: Extra Border seen in default button on iPad
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2019-10-31T20:17:35.000+0000 |
Affected Version/s | Release 2.0.1, Release 3.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | api, training |
Reporter | Sandeep Bhimavarapu |
Assignee | Eric Merriman |
Created | 2011-09-09T19:45:54.000+0000 |
Updated | 2019-10-31T20:17:35.000+0000 |
Description
When a button with no specific style is created, it always has an "extra border" on the bottom. This is visible on iPad.
Sample Code
{noformat}
Titanium.UI.setBackgroundColor('black');
var window = Titanium.UI.createWindow({
title:'Hello',
backgroundColor:'black'
});
var button = Ti.UI.createButton({
width:150,
height:50,
title:'My Button',
top:200,
left:100
});
window.add(button);
window.open();
{noformat}
Attachments
I'm seeing the same thing with table views - on the iPad, there's an ugly border at the bottom of each section when using grouped mode. It didn't appear in Ti 1.5.x. I can't seem to attach an image, so I've posted it here: http://imgur.com/PJdxH Code: var BARCOLOUR = "#333"; var WINDOWCOLOUR = "#2c2c2c"; var win = Ti.UI.createWindow({backgroundColor:WINDOWCOLOUR, barColor: BARCOLOUR, title: "Interface" }); var data = [{title:"Row 1"},{title:"Row 2"}]; var table = Titanium.UI.createTableView({data:data,style: Titanium.UI.iPhone.TableViewStyle.GROUPED}); win.add(table);win.open();
As a follow-up to the above, I've discovered I can work around it by adding: separatorStyle: Ti.UI.iPhone.TableViewSeparatorStyle.NONE, to the createTableView() call.
Still bug - tested on Ti SDK 2.0.1.GA2, still an issue.
issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 iOS iPhone Simulator: iOS SDK version: 6.0
Cannot reproduce. Axway Appcelerator Studio, build: 5.1.4.201909061933 macOS : 10.15 Node.js Version : 8.9.1 npm Version : 5.5.1 Appcelerator CLI : 7.1.1 Titanium CLI CLI Version : 5.2.1 node-appc Version : 0.2.49 Titanium SDKs : 8.2.1.GA