Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20385] Windows: ScrollView does not respect `top` property on views

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-02-25T14:18:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.3.0
ComponentsWindows
Labelsqe-5.3.0
ReporterBert Grantges
AssigneeKota Iguchi
Created2016-02-10T23:08:12.000+0000
Updated2016-04-15T21:58:32.000+0000

Description

View content laying out in the center of the view, despite the fact that a top property is specified. Adding a View to another view with property top=20, view still aligns centered despite top property setting.

Attachments

FileDateSize
Screen Shot 2016-02-10 at 9.56.30 PM.png2016-02-11T03:57:32.000+0000223475

Comments

  1. Bert Grantges 2016-02-10

    Customer is reporting that this is most noticed within a ScrollView or ScrollableView. I was not able to reproduce this when the View was a child of a normal Window.
  2. Bert Grantges 2016-02-11

    Based on some tests, this seems to be an issue within ScrollView and ScrollableView. The top property is not respected, and the layout is not rendered as expected. See the screenshot - highlighted in the code is the top property in the the view child of the ScrollView. Note that the top square's top property is rendering as expected.
  3. Kota Iguchi 2016-02-25

    PR for ScrollView: https://github.com/appcelerator/titanium_mobile_windows/pull/568 Confirmed that this issue does not happen on ScrollableView: TIMOB-20460
  4. Harry Bryant 2016-04-15

    Verified as fixed, setting top property for views are now respected. Tested on: Windows 10 Pro Windows Phone 10.0 & 8.1 (Microsoft Lumia 640 LTE) Appc Studio: 4.6.0.201604151027 Ti SDK: 5.3.0.v20160415081725 Appc NPM: 4.2.5-1 Appc Core: 5.3.0-12 Node: v4.4.2 *Closing Ticket.*

JSON Source