Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-25201](7_1_X): iOS tintColor doesn't work on imageView if dimensions (height, width) are provided #9863

Merged
merged 2 commits into from Feb 21, 2018

Conversation

vijaysingh-axway
Copy link
Contributor

@build
Copy link
Contributor

build commented Feb 21, 2018

Messages
📖

💾 Here's the generated SDK zipfile.

Generated by 🚫 dangerJS

Copy link
Contributor

@ssjsamir ssjsamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FR Passed (7.1.x): Was able to see the tint applied with the following test case:


Ti.UI.backgroundColor = 'orange';
var win = Ti.UI.createWindow();
 
var view = Ti.UI.createView({
	backgroundColor: 'green',
	height: 100,
	layout: 'vertical'
});
 
var image = Ti.UI.createImageView({
	image:'/ic_tv_white_48.png',
	tintColor: 'red',
	width: 40,
	height: 40
});
 
var image2 = Ti.UI.createImageView({
	image:'/ic_tv_white_48.png',
	tintColor: 'blue'
});
 
view.add(image);
view.add(image2);
win.add(view);
win.open();

Test steps

  • Created a build with the generated zip
  • Created a titanium app
  • Added the test case above
  • Ran the program
  • Was able to see the tint applied
  • Checked other colours for tint to verify it was working as intended

Test Environment
APPC Studio: 5.0.0.201711280737
APPC CLI: 7.0.1
iphone 6 plus (10.2)
Operating System Name: Mac OS High Sierra
Operating System Version: 10.13
Node.js Version: 8.9.1
Xcode 9.2

@ssjsamir ssjsamir merged commit a7a4213 into tidev:7_1_X Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants