[Bug] widget.setTheme widget_theme_ios7 has a few bugs

I have noticed a couple of bugs in “widget_theme_ios7”

1.  The widget.newSwitch does not allow you to slide from on to off or vice versa making it unworkable.

2.  Creating a tableView .  The lines between rows don’t start from the tableViews x position.  I believe they start from 15px to the right.  This looks odd as there is missing space on the far left of every line.  It’s even more noticeable if you have a backgroundColor for your tableView as can be seen from the image below.  Notice the blue background showing through and row lines starting too far right.  The Row text is positioned at 15px.

I was going to report this until I looked at a couple of the iOS native apps like mail and settings that use tableViews and the line starts a little ways in from the left and runs to flush right.

So I’m going to have to say this is by design.   Now for the colored background showing through, that might be a bug.  Can you file a bug report?

Thanks

Rob

Hi Rob,

I have submitted 2 bug reports, one for each issue, 26440 and 26439 respectively.

I also notice that with issue 2, the tableView, there is a 1 point vertical bar of background color on the right hand side caused by the rows being offset 1 point to the left from the tableview background.  I have submitted this with an image as part of the bug report.

Thanks.

here is an image of whats happening with iOS7 theme:

widget.newSwich (onOff) still doesn’t work also on iOS7 theme.

I want to use the new iOS7 theme but it’s broken.

The first problem is probably a case of needing to extend the background down a pixel.  If you notice tableViews on iOS 7, the divider bar is offset by some pixels.  I’m guessing that having a white background (or whatever your row background color is) for the tableView would solve this instead of depending on the background for the entire app.

The WigetDemo sample app (SampleCode/Interface/WidgetDemo) has a working onOff switch on the 4th tab bar.  Can you provide some code for an onOff switch that’s not working?  Can you check the WidgetDemo?

Hi Rob,

Just tried the widgetdemo onOff switch (tab 4) on the windows simulator and it works if you click on it.  It doesn’t work if you drag it though as with iOS 6 theme. 

Design decision?

If you look at the image the app background color is bright green, whereas the tableView background color is blue.

Surely I don’t need to change my tableView background color back to white?  I have it colored for a reason as there is a more button at the bottom to load more data and it helps the user know that they are at the end of the table.

The tableView background should sit exactly underneath the tableView. 

In my tests the tableView background is positioned fine, but the tableView is 1 point offset to the left.

The right hand side of the line separator for the rows is never flush right.  It’s offset 1 point to the left which gives credence that the tableView itself is offset.

Please see Bug Report 26439 for a proper working example

I was going to report this until I looked at a couple of the iOS native apps like mail and settings that use tableViews and the line starts a little ways in from the left and runs to flush right.

So I’m going to have to say this is by design.   Now for the colored background showing through, that might be a bug.  Can you file a bug report?

Thanks

Rob

Hi Rob,

I have submitted 2 bug reports, one for each issue, 26440 and 26439 respectively.

I also notice that with issue 2, the tableView, there is a 1 point vertical bar of background color on the right hand side caused by the rows being offset 1 point to the left from the tableview background.  I have submitted this with an image as part of the bug report.

Thanks.

here is an image of whats happening with iOS7 theme:

widget.newSwich (onOff) still doesn’t work also on iOS7 theme.

I want to use the new iOS7 theme but it’s broken.

The first problem is probably a case of needing to extend the background down a pixel.  If you notice tableViews on iOS 7, the divider bar is offset by some pixels.  I’m guessing that having a white background (or whatever your row background color is) for the tableView would solve this instead of depending on the background for the entire app.

The WigetDemo sample app (SampleCode/Interface/WidgetDemo) has a working onOff switch on the 4th tab bar.  Can you provide some code for an onOff switch that’s not working?  Can you check the WidgetDemo?

Hi Rob,

Just tried the widgetdemo onOff switch (tab 4) on the windows simulator and it works if you click on it.  It doesn’t work if you drag it though as with iOS 6 theme. 

Design decision?

If you look at the image the app background color is bright green, whereas the tableView background color is blue.

Surely I don’t need to change my tableView background color back to white?  I have it colored for a reason as there is a more button at the bottom to load more data and it helps the user know that they are at the end of the table.

The tableView background should sit exactly underneath the tableView. 

In my tests the tableView background is positioned fine, but the tableView is 1 point offset to the left.

The right hand side of the line separator for the rows is never flush right.  It’s offset 1 point to the left which gives credence that the tableView itself is offset.

Please see Bug Report 26439 for a proper working example

For issue number 1…  just set your .x to 15 and it lines up with your text nicely and still maintains that by design look of the iOS… line to text look.

For issue number 1…  just set your .x to 15 and it lines up with your text nicely and still maintains that by design look of the iOS… line to text look.