[AC-2127] Android: TableViewSection headerView have a fixed height?
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2013-01-25T18:14:07.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | android, tableview, tableviewsection |
| Reporter | Rafael Kellermann Streit |
| Assignee | Mauro Parra-Miranda |
| Created | 2012-10-24T14:51:21.000+0000 |
| Updated | 2016-03-08T07:41:06.000+0000 |
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
| File | Date | Size |
|---|---|---|
| 2012-10-24 12.49.19.png | 2012-10-24T14:51:21.000+0000 | 419793 |
Hi, Please change your test case to something which we can drop into a new project and run. Thanks!
I've set this to resolved so that the issue can now be edited to provide more info. Thanks, Daniel