Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5253] iOS: Extra Border seen in default button on iPad

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2019-10-31T20:17:35.000+0000
Affected Version/sRelease 2.0.1, Release 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsapi, training
ReporterSandeep Bhimavarapu
AssigneeEric Merriman
Created2011-09-09T19:45:54.000+0000
Updated2019-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

FileDateSize
2011-09-03 08.42.54.jpg2011-09-09T19:45:54.000+00003524986
Screen Shot 2011-09-09 at 7.31.56 PM.png2011-09-09T19:45:54.000+000048615

Comments

  1. Sandeep Bhimavarapu 2011-09-09

  2. Damien Elmes 2011-09-16

    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();
  3. Damien Elmes 2011-09-16

    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.
  4. Nikhil Sharma 2012-05-17

    Still bug - tested on Ti SDK 2.0.1.GA2, still an issue.
  5. jithinpv 2013-05-09

    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
  6. Alan Hutton 2019-10-31

    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

JSON Source