[TIMOB-371] Composite View Y Position [iPhone]
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:28:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | antt |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:28:09.000+0000 |
Updated | 2017-03-09T21:16:05.000+0000 |
Description
have created a composite view with webviews
wanting scrollable page with custom header/footer
scrollable view centres to screen instead of using y value in setup
object
eg.
var ViewBack =
Titanium.UI.createWebView({url:'ViewBack.html'});
var ViewText =
Titanium.UI.createWebView({url:'ViewText.html'});
var compositeViewAbout = Titanium.UI.createCompositeView();
compositeViewAbout.addView(ViewBack,{x:0,y:0,width:320,height:460,zIndex:1});
compositeViewAbout.addView(ViewText,{x:0,y:80,width:320,height:340,zIndex:2});
all works fine the ViewText view scrolls - just that ViewText
view centres to screen - not at 80.
is there a way to resolve this?
...worked it out!
y value is ignored... top:80 works.
any chance of documentation to show addView setup object options?
this was by chance i tried top... turned out to be lucky.
Titanium SDK 0.8.2
iPhone SDK 3.0, 3.1. 3.1.2
Changes in codebase has mooted this since then.
Closing ticket as invalid.