[TIMOB-14967] iOS: Setting horizontalWrap : true on a Button has no effect
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.2, Release 3.2.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | parity, reprod |
Reporter | Purvi Patel |
Assignee | Unknown |
Created | 2013-08-26T17:37:20.000+0000 |
Updated | 2018-02-28T20:03:57.000+0000 |
Description
*Actual Result*
Text doesn't wrap.
*Expected Result*
Text should wrap and go to next line.
*Test case*
var win = Ti.UI.createWindow({
backgroundColor : "#FFF"
});
var button = Titanium.UI.createButton({
title : 'Testing a string longer than the width of the button',
top : 10,
width : 100,
height : 300,
horizontalWrap : true
});
win.add(button);
win.open();
Attachments
File | Date | Size |
---|---|---|
.log | 2013-08-26T17:37:23.000+0000 | 27054 |
diagnostic6482680694158719045.log | 2013-08-26T17:37:28.000+0000 | 10306 |
Tested and confirmed on iOS 6 simulator with Ti SDK 3.1.2 GA and 3.2 CI. Works on Android.
Issue reproduces on both SDK version 3.2.0 and 3.4.0 (Unreleased) Titanium Command-Line Interface, CLI version 3.3.0, Titanium SDK version 3.4.0.GA Titanium SDK version 3.2.0.GA iOS SDK: 7.1 iOS iPhone: 7.1
I am able to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170620103414 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131