Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-2127

Android: TableViewSection headerView have a fixed height?

    Details

      Description

      Hello,

      I'm applying a top 40 to my label inside a TableViewSection headerView, and it doesn't have any effect.

      If I set a fixed height to TableViewSection headerView it doesn't have any effect too.

      var headerView = Ti.UI.createView({
      	width: Ti.UI.SIZE,
      	height: Ti.UI.SIZE,
      	backgroundColor: "#FF0000"
      });
       
      headerView.add(Ti.UI.createView({
      	left: "13dp",
      	right: "13dp",
      	bottom: 0,
      	height: "1dp",
      	backgroundColor: "#FFFFFF"
      });
       
      headerView.add(Ti.UI.createLabel({
      	text: "Foobar",
      	left: "13dp",
      	right: "13dp",
      	bottom: "3dp",
      	top: "40dp",
      	color: "#FFFFFF",
      	font: { fontSize: "14dp", fontWeight: "bold" }
      });
      

        Attachments

          Activity

            People

            • Assignee:
              mpmiranda Mauro Parra-Miranda
              Reporter:
              rafaelks Rafael Kellermann Streit
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code