[ios] Fixed popup size reducing after each click

This commit is contained in:
Alex Zolotarev 2012-05-25 19:38:20 +03:00 committed by Alex Zolotarev
parent 6f0f984929
commit 0aefac2b8b

View file

@ -51,9 +51,7 @@
// m_titleView.alpha = 0.8;
// m_titleView.textLabel.backgroundColor = [UIColor clearColor];
// m_titleView.detailTextLabel.backgroundColor = [UIColor clearColor];
m_titleView.textLabel.textColor = [UIColor whiteColor];
m_titleView.detailTextLabel.textColor = [UIColor whiteColor];
CGFloat const w = m_titleView.bounds.size.width / 3 * 2;
CGFloat const w = view.bounds.size.width - 30;
CGFloat const h = m_titleView.bounds.size.height;
m_titleView.frame = CGRectMake(pt.x - w/2, pt.y - h, w, h);