Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4401] Android: CenterYPrecedence is not returning correct height value when top is not set

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-05-29T18:41:09.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sRelease 2.1.0
ComponentsAndroid
Labelscore
ReporterNatalie Huynh
AssigneeNeeraj Gupta
Created2011-06-14T11:07:02.000+0000
Updated2012-06-04T02:44:48.000+0000

Description

Steps To Reproduce: 1. Run test 1048 from http://wiki.appcelerator.org/display/tp/UI+Composite+Layout+Behavior+Test+Case Actual Result: height value is not calculated correctly Expected Result: height value should be 100 since view height is 200, center is 100 and bottom is 50

Comments

  1. Neha Chhabra 2012-06-04

    Actual Result: view.size.height value is 100 and the red is height centered to the yellow Tested with Titanium SDK: 2.1.0.v20120602010244 Tested with Titanium  Studio: 2.1.0.201206010843 Emulator - Android 2.2 Android Runtime - v8

JSON Source