Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7463] MobileWeb: Split CalculateSize into two methods for layout and animations.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-02-16T17:57:14.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2012-04, Release 2.0.0
ComponentsMobileWeb
Labelsn/a
ReporterBryan Hughes
AssigneeChris Barber
Created2012-01-29T22:56:27.000+0000
Updated2017-03-04T00:22:07.000+0000

Description

Right now, animations and call CalculateSize to convert the coordinates into ones that are layout-compatible. This call actually causes some controls to be re-layed out. While it doesn't cause any visual artifacting, it is inefficient. The method should be split into two versions that are each optimized for layout and animation.

Comments

  1. Bryan Hughes 2012-02-16

    Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1452
  2. Bryan Hughes 2012-02-16

    It wasn't necessary to split into two methods. A refactoring fixed it while keeping code reuse high.
  3. Lee Morris 2017-03-04

    Closing ticket due to MobileWeb no longer being supported.

JSON Source