Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3242] Coverflow needs another parameter "space"

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2014-04-17T05:42:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels3.2.2.GA, coverflowview, ios, space
ReporterJanardhanan
AssigneeRitu Agrawal
Created2014-04-16T11:39:04.000+0000
Updated2016-03-08T07:57:39.000+0000

Description

I need to display large sized images(500+px) on coverflow. When i display those on the coverflow i found that the images partially lay on the another.Suggest an another alternative solution or please add another parameter like space between images in coverflow. Having them could override this issue. EDITED: -------------- I have added the sample code: var win = Titanium.UI.createWindow({ backgroundColor : "#FFFFFF", tabBarHidden : true }); win.addEventListener("close", function(e) { Ti.API.info("Inside the WIN close") alert("Inside the WIN close"); }) var coverflowArray = []; for (var i = 0; i < 5; i++) coverflowArray.push({ width : 500, height : 500, image : "http://s12.postimg.org/8lzz09cu5/1000.jpg" }); var coverFlow = Ti.UI.iOS.createCoverFlowView({ images : coverflowArray }); win.add(coverFlow); win.open();

Attachments

FileDateSize
SCN_coverflow_iPad_SDK3.2.2.png2014-04-16T11:39:04.000+0000914190
SCN-COVERFLOW-500X500.png2014-04-17T06:32:50.000+0000805387

Comments

  1. Ritu Agrawal 2014-04-16

    You should resize the image before you push it to the Coverflow. You can follow the Q&A discussion here: https://developer.appcelerator.com/question/5361/resize-images-in-cover-flow Another blog you might be interested in: http://sapandiwakar.in/resizingscaling-images-in-titanium-cover-flow/
  2. Janardhanan 2014-04-17

    The coverflow works fine with small images(<400px). But the coverflow gets clustered only when i use above 500px.Desperately i need to display large size images on my application. I am using the same image resizing logic as referred in those links.

JSON Source