Cabbage Logo
Back to Cabbage Site

New sliderBounds() and valueTextBoxBounds() identifiers

valueTextBoxBounds(x, y, w, h) will change the position and dimensions of a slider’s textbox.

sliderBounds(x, y, w, h) will change the position and dimensions of the slider component housed by a Cabbage slider widget.

Both of these identifiers give you precise control over the inner components of a slider. They are only really useful if you are using image based sliders and need to reposition things according to your GUI assets.