[TIMOB-1514] iOS: add textAlign and verticalAlign support for buttons
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-10-30T21:27:38.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 7.5.0 |
Components | iOS |
Labels | api, engTriage, parity, reprod |
Reporter | Thomas Huelbert |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T02:54:52.000+0000 |
Updated | 2020-04-17T15:27:29.000+0000 |
Description
This was implemented for android as ticket 1479.
support on butons for:
Titanium.UI.TEXT_ALIGNMENT_LEFT
Titanium.UI.TEXT_ALIGNMENT_CENTER
Titanium.UI.TEXT_ALIGNMENT_RIGHT
Titanium.UI.TEXT_VERTICAL_ALIGNMENT_TOP
Titanium.UI.TEXT_VERTICAL_ALIGNMENT_CENTER
Titanium.UI.TEXT_VERTICAL_ALIGNMENT_BOTTOM
there is a test casein kitchenSink at
Comments
- Thomas Huelbert 2011-04-15
incomplete line - should read
there is a test case in kitchenSink at Controls>Button - Josh Roesslein 2012-07-26 TIMOB-1476 implemented "textAlign" support for iOS.
- Junaid Younus 2012-08-15
Tested on the iOS simulator using TiSDK 2.2.0v20120814103312, issue still exists.
var win = Ti.UI.createWindow({backgroundColor: 'white'}); var button = Ti.UI.createButton({ title: 'Button', width: 150, height: 70, textAlign: Ti.UI.TEXT_ALIGNMENT_RIGHT, verticalAlign: Ti.UI.TEXT_VERTICAL_ALIGNMENT_TOP }); win.add(button); win.open();
- Lee Morris 2017-05-02 Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.
- Shawn Lipscomb 2017-05-03 Lee, this ticket has nothing to do with Kitchen Sink. It was incorrectly closed. Please reopen. It looks like textAlign and verticalAlign are still missing from iOS.
- Lee Morris 2017-05-03 [~bitshftr] You are correct, I apologise, I've mixed this up with another ticket. Reopened!
- Lee Morris 2017-07-10 I am able to reproduce this issue with the following environment; iPhone 6 (10.0) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131
- Alan Hutton 2019-10-30 Unable to reproduce. Implemented sometime prior to 8.2.1.GA.