core/slider/styling.go

Functions

Functions

func Padding

Padding sets the padding around the slider.

Returns the widget for method chaining.

func (w *Widget) Padding(v float32) *Widget {
	w.padding = v
	return w
}