slider: increase the text width
authorMinkyu Kang <mk7.kang@samsung.com>
Mon, 28 Jan 2013 12:33:50 +0000 (21:33 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 28 Jan 2013 12:58:11 +0000 (21:58 +0900)
Because of text is overlapped with slider handle,
increase the text width. (N_SE-23397)

Change-Id: I7bb289ab2bbaba874d33e9189f040425dcbc0f03

src/widgets/slider/js/jquery.mobile.tizen.slider.js

index 0a73d0d..853dfe5 100644 (file)
                                text_right = ( inputElement.attr('data-text-right') === undefined ) ? '' :
                                                inputElement.attr('data-text-right').substring( 0, 3 );
 
-                               text_length = Math.max( text_left.length, text_right.length );
+                               text_length = Math.max( text_left.length, text_right.length ) + 1;
 
                                margin_left = text_length + "rem";
                                margin_right = text_length + "rem";