PDA

View Full Version : Segmented button loosing class on swipe



jossstuart
7 Sep 2011, 2:48 AM
There is an issue with the segmented button which is causing problems for the usability of my app.

Basically if you have a group of segmented buttons with one depressed, swiping over it will cause it to loose it's depressed state and then none of the buttons will be pressed.

This can be seen in the Kitchen Sink > User Interface > Toolbars. Underneath the title. Swipe on any depressed button.

Any workaround for this?

Thanks

jossstuart
15 Dec 2011, 5:52 AM
Well i've been asked by someone if I ever fixed this.

What I did was override the segmented button so it now works.

Import the attached 'seg' file and reference it in the index.html after converting to a .js file.
Then when you need to use segmented button simply call
Ext.SenchaSegmentedButtonThatWorks or the xtype

Fixedsegmentedbutton

Cheers.