Nathan Nathan - 1 year ago 104
CSS Question

Is it possible to change the width of the counter?

I have the Webix ui.counter control, and seems like it is irresponsive to the


view: "counter",
value: 1234567,
width: 300

It gives a counter with the default width (maximum 5 digits are visible). Is this a bug or did I miss something?


Answer Source

It's weird that inputWidth don't work.

But here is an work around : override the default width 40px of the selector .webix_el_counter .webix_inp_counter_value. Check css for adding more styles.

  .webix_el_counter .webix_inp_counter_value{
    width: 100px;

Working example :

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download