[TIMOB-12725] MobileWeb: Ti.UI.Switch's width changes unexpectedly
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-05-01T22:36:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | linvalid |
Reporter | Carter Lathrop |
Assignee | Chris Barber |
Created | 2013-02-12T10:30:38.000+0000 |
Updated | 2018-04-04T23:20:17.000+0000 |
Description
*Steps to reproduce:*
1) open project from attachment
2) run it.
3) turn switch "Device is invisible now" on and then off.
4) turn switch "Bluetooth disabled" on and off multiple times
*Expected result*
Switch "Device is invisible now" should not change size when another switch is clicked.
*Actual result*
Switch "Device is invisible now" changes size when you click on another switch.
Attachments
Hello Stanislav, Why wouldn't you set the desired size of the switch before hand? Leaving the width property blank leaves it to be resized every time the button is switched. It is generally good practice to set the desired width of the switch because then the resizing will not happen. Have you tried this? Regards, Carter
Hi, Carter. Thanks for fast answer. It's ok that Switch resizes on some event(like click). That not a problem. But it's not ok when you don't touch it - switch still resizes! In a sample (and video) i have provided 2 switches. When i click on first one - second changes! It's very weird. Switch should set right (new) size on it's own events - not on some event from any another switch. And it's not ok "pixel by pixel adjusting" (you can see it on video). Right size should be set once for each text (one size for "on text" another for "off text"). Regards, Stanislav
Resolving ticket as "Won't Fix" as MobileWeb is no longer supported.
Closing as will not fix.