Details
-
Type:
Bug
-
Status: Closed
-
Resolution: Needs more info
-
Affects Version/s: None
-
Component/s: Titanium SDK & CLI
-
Labels:
-
Environment:
Titanium SDK 3.0.0.v20121019153308, Android 4.1.2 - Nexus S
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" }
|
});
|