Project

General

Profile

Smaller WSpinBox Decoration up/down buttons

Added by Ricardo Cunha almost 3 years ago

Is there any way to make a WSpinBox with height smaller and get decoration buttons decreasing size with the same ratio? (see image)

As in bootstrap theme the up/down buttons are fixed images I believe I have to implement my customize widget with this property - am I correct?

Thanks in advance!


Replies (2)

RE: Smaller WSpinBox Decoration up/down buttons - Added by Roel Standaert almost 3 years ago

Yeah, you'd have to change the CSS and/or the image that is used, but then there still would be a JavaScript change necessary.

I believe with Bootstrap 4/5 we're working on making it work regardless of the size of the input, but not for older versions of Bootstrap.

RE: Smaller WSpinBox Decoration up/down buttons - Added by Ricardo Cunha almost 3 years ago

Many Thanks for you reply Roel!
I will create my own widget!

    (1-2/2)