When I spoke with a few of the engineers yesterday, they reported that a round of widget fixes will be implemented soon, hopefully by the end of this week. I will need to check if this one is part of that list… ideally it will be.
I just edited the WidgetDemo sample app with 2076 and I can change the font and fontSize with one caveat. The height of the rows on the wheels is fixed. The default fontSize is 22. Depending on the font metrics (long descenders, etc), you may only be able to get up to a 26 point font in there with out it cutting off. There is no reason this shouldn’t be working in the G1.0 builds. I shipped an app a month or so ago where i changed the font to more of an iOS 7 look.
I just edited the WidgetDemo sample app with 2076 and I can change the font and fontSize with one caveat. The height of the rows on the wheels is fixed. The default fontSize is 22. Depending on the font metrics (long descenders, etc), you may only be able to get up to a 26 point font in there with out it cutting off. There is no reason this shouldn’t be working in the G1.0 builds. I shipped an app a month or so ago where i changed the font to more of an iOS 7 look.
Just letting you know that starting with today’s daily (2013.2109) the picker supports passing both columnColor and backgroundColor to the constructor, and honors them.
Can you or one of your colleagues kindly explain what the backgroundColor does just so we understand and use this correctly?
I tried using the colors you provided above in WidgetDemo and I could indeed get the whole pickerWheel in red. I then commented out the backgroundColor part and I saw a line drawn under each row but the rest was still all red. I then experimented with just the backgroundColor in red and columnColor commented out and indeed I only got a red line drawn under each row.
So the backgroundColor seems to control an underlining of some sort but I don’t quite understand what the purpose might be. I would appreciate some guidance info on this. Thank you very much.
PS. Moving this one to “Fixed” in the spreadsheet! Good work.
Just letting you know that starting with today’s daily (2013.2109) the picker supports passing both columnColor and backgroundColor to the constructor, and honors them.
Can you or one of your colleagues kindly explain what the backgroundColor does just so we understand and use this correctly?
I tried using the colors you provided above in WidgetDemo and I could indeed get the whole pickerWheel in red. I then commented out the backgroundColor part and I saw a line drawn under each row but the rest was still all red. I then experimented with just the backgroundColor in red and columnColor commented out and indeed I only got a red line drawn under each row.
So the backgroundColor seems to control an underlining of some sort but I don’t quite understand what the purpose might be. I would appreciate some guidance info on this. Thank you very much.
PS. Moving this one to “Fixed” in the spreadsheet! Good work.