Merge pull request #103 from rheoli/version-0.7-bgcolor

Transparent backgroundColor of the labels
This commit is contained in:
Jamon Holmgren
2013-05-28 13:08:07 -07:00

View File

@@ -59,6 +59,7 @@ module ProMotion
def set_subtitle
if data_cell[:subtitle] && self.detailTextLabel
self.detailTextLabel.text = data_cell[:subtitle]
self.detailTextLabel.backgroundColor = UIColor.clearColor
self.detailTextLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth
end
self
@@ -137,6 +138,7 @@ module ProMotion
else
cell_title = data_cell[:title]
cell_title ||= ""
self.textLabel.backgroundColor = UIColor.clearColor
self.textLabel.text = cell_title
end