How to customize Section's font & color?

104 views
Skip to first unread message

Kevin Fan

unread,
Oct 16, 2013, 7:33:49 AM10/16/13
to quick...@googlegroups.com
I wrote these codes in loadView, it worked in IOS6 but not IOS7.

self.root.appearance = [self.root.appearance copy];
self.root.appearance.sectionTitleColor = [UIColor blackColor];
self.root.appearance.sectionFooterFont = [UIFont boldSystemFontOfSize:16];

Eduardo Scoz

unread,
Oct 16, 2013, 7:36:03 AM10/16/13
to quick...@googlegroups.com
That should be correct, but I never had the chance to implement the appearance methods on the QFlatAppearance. The layout changes from iOS6, so you can't just copy the implementation from the QClassicAppearance, it has to be modified so the default looks like iOS7. 


--
-- QuickDialog site: http://escoz.com/quickdialog github: http://github.com/escoz/quickdialog.
 
You received this message because you are subscribed to the Google Groups QuickDialog group. To post to this group, send email to quick...@googlegroups.com. To unsubscribe from this group, send email to quickdialog...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/quickdialog?hl=en
---
You received this message because you are subscribed to the Google Groups "QuickDialog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quickdialog...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Kevin Fan

unread,
Oct 17, 2013, 11:08:13 PM10/17/13
to quick...@googlegroups.com
I get it. Thanks for your quick reply Eduardo!

在 2013年10月16日星期三UTC+8下午7时36分03秒,Eduardo Scoz写道:
Reply all
Reply to author
Forward
0 new messages