javascript - Is it possible to change the width of the counter? -
i have webix ui.counter control, , seems irresponsive width
property:
webix.ui({ view: "counter", value: 1234567, width: 300 });
it gives counter default width (maximum 5 digits visible). bug or did miss something?
snippet: http://webix.com/snippet/e2d461a6
it's weird inputwidth
don't work.
but here work around : override default width 40px
of selector .webix_el_counter .webix_inp_counter_value
. check css
adding more styles.
<style> .webix_el_counter .webix_inp_counter_value{ width: 100px; } </style>
working example : http://webix.com/snippet/47cbb6c9
Comments
Post a Comment