Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8146] MobileWeb: Horiontal and vertical layouts with a FILL item don't respect other controls margins.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-03-21T13:24:05.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.0.0, Sprint 2012-06
ComponentsMobileWeb
Labelsqe-port
ReporterBryan Hughes
AssigneeBryan Hughes
Created2012-03-21T09:01:43.000+0000
Updated2012-08-14T13:44:40.000+0000

Description

When two elements are added to a horizontal or vertical view, one with a width/height of FILL and the other with some sort of margin defined, the layout algorithm ignores those margins when calculating the width/height of the FILL.

Attachments

FileDateSize
app.js2012-03-21T10:48:49.000+00002258

Comments

  1. Bryan Hughes 2012-03-21

    Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1777
  2. Lokesh Choudhary 2012-08-14

    Verified fix on: Titanium studio : 2.1.1.201207271312 SDK version : 2.2.0.v20120814103312 Android 4.0.4 - default ,chrome 18.0 , firefox 14.0.1 Iphone 5.1.1 - safari mobile Mountain lion(10.8) - chrome 21.0,safari 6,firefox 14.0.1

JSON Source