Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7856] MobileWeb: Properly support SIZE/FILL mechanisms of composite layout API

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-03-05T15:13:29.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2012-05, Release 2.0.0
ComponentsMobileWeb
Labelsn/a
ReporterBryan Hughes
AssigneeChris Barber
Created2012-03-01T00:08:18.000+0000
Updated2017-03-22T21:18:32.000+0000

Description

The current layout mechanism doesn't support SIZE/FILL behavior as described in https://wiki.appcelerator.org/display/spe/UI+Composite+Layout+Behavior+Spec Several things need to happen to support SIZE/FILL including: * Re-architect layout into two phases so that FILL items can be sized according to the space left over after the other controls are layed out * Move positioning code from element's doLayout into the layout class * Update default width and height hidden properties to use size/fill instead of auto and 100% * Implement support for unit conversions/etc.

Attachments

FileDateSize
app.js2012-03-05T09:47:02.000+00003273

Comments

  1. Bryan Hughes 2012-03-05

    Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1555
  2. Bryan Hughes 2012-03-05

    Should be tested against the attached app and Kitchen Sink.
  3. Lee Morris 2017-03-22

    Closing ticket as fixed.

JSON Source