migueldeicaza / MonoTouch.Dialog

Tools to simplify creating dialogs with the user using MonoTouch
MIT License
431 stars 211 forks source link

Default Background color of StyledStringElement #193

Closed svrooij closed 11 years ago

svrooij commented 11 years ago

I think the default color of a StyledStringElement should respect the defaults set in the Appearance class.

so this (line 860 of elements.cs) void ClearBackground (UITableViewCell cell) { cell.BackgroundColor = UIColor.White; cell.TextLabel.BackgroundColor = UIColor.Clear; }

should be changed to void ClearBackground (UITableViewCell cell) { cell.BackgroundColor = UITableViewCell.Appearance.BackgroundColor; cell.TextLabel.BackgroundColor = UIColor.Clear; }

svrooij commented 11 years ago

Bump?

migueldeicaza commented 11 years ago

Good idea, let us try it out.