Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-10175

Android: Vertical Layout does not respect the bottom when padding views

    Details

      Description

      In a vertical layout bottom is not used as padding. In the test case below the views are flush against each other although viw1 has bottom set to 5
      Test Code

       
      var win = Ti.UI.createWindow({
      	backgroundColor:'white',
      	layout:'vertical'
      })
      var view1 = Ti.UI.createView({
      	width:100,
      	height:100,
      	left:5,
      	bottom:5,
      	backgroundColor:'red'
      })
      var view2 = Ti.UI.createView({
      	width:100,
      	height:100,
      	left:5,
      	bottom:5,
      	backgroundColor:'green'
      })
       
      win.add(view1);
      win.add(view2);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              ayeung Allen Yeung
              Reporter:
              vduggal Vishal Duggal (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-5522
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code